Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 185.2 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003385, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.644/0.6443, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.004654/0.649, allocations: 4.813 MB / 0.9604 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.8083, allocations: 147.1 MB / 1.104 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.8098, allocations: 19.94 kB / 1.104 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.8107, allocations: 162.8 kB / 1.104 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.8131, allocations: 0.5228 MB / 1.105 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.8157, allocations: 0.8639 MB / 1.106 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.8182, allocations: 1.831 MB / 1.107 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.8197, allocations: 0.8534 MB / 1.108 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009966/0.8207, allocations: 0.4937 MB / 1.109 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009996/0.8217, allocations: 0.5829 MB / 1.109 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.8221, allocations: 40 kB / 1.109 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.8234, allocations: 499.5 kB / 1.11 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.8239, allocations: 306.7 kB / 1.11 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000947/0.8248, allocations: 0.6578 MB / 1.111 GB, free: 4 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.827, allocations: 1.765 MB / 1.112 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.827, allocations: 3.984 kB / 1.112 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.343e-06/0.827, allocations: 0 / 1.112 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.623e-05/0.8271, allocations: 0 / 1.112 GB, free: 14.23 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003896/0.831, allocations: 1.563 MB / 1.114 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.831, allocations: 12.03 kB / 1.114 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009878/0.8409, allocations: 1.583 MB / 1.116 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.8427, allocations: 1.039 MB / 1.117 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.8428, allocations: 94.67 kB / 1.117 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.8431, allocations: 136 kB / 1.117 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005686/0.8488, allocations: 2.326 MB / 1.119 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.8488, allocations: 0 / 1.119 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.849, allocations: 56 kB / 1.119 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.849, allocations: 32 kB / 1.119 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.8576, allocations: 3.21 MB / 1.122 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009545/0.8671, allocations: 5.165 MB / 1.127 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008788/0.8759, allocations: 3.161 MB / 1.13 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.8794, allocations: 1.244 MB / 1.132 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/0.88, allocations: 0.6103 MB / 1.132 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004025/0.884, allocations: 1.563 MB / 1.134 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 2.915e-06/0.884, allocations: 0 / 1.134 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01264/0.8967, allocations: 3.965 MB / 1.138 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.8968, allocations: 205.2 kB / 1.138 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.8981, allocations: 0.8138 MB / 1.139 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.8982, allocations: 49.7 kB / 1.139 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.8987, allocations: 0.5084 MB / 1.139 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.8992, allocations: 437.7 kB / 1.14 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.8994, allocations: 101.7 kB / 1.14 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8995, allocations: 349.9 kB / 1.14 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/0.903, allocations: 1.166 MB / 1.141 GB, free: 344 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003603/0.9066, allocations: 1.3 MB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/0.9135, allocations: 2.29 MB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.9136, allocations: 3.938 kB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008336/0.9219, allocations: 2.702 MB / 1.147 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.9219, allocations: 7.984 kB / 1.147 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.922, allocations: 7.938 kB / 1.147 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.9226, allocations: 88.78 kB / 1.147 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/0.9252, allocations: 487.3 kB / 1.148 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.9273, allocations: 1.539 MB / 1.149 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.9299, allocations: 360.6 kB / 1.15 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.9301, allocations: 71.92 kB / 1.15 GB, free: 7.309 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008848/0.931, allocations: 351.8 kB / 1.15 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.9312, allocations: 110.6 kB / 1.15 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009173/0.9404, allocations: 3.106 MB / 1.153 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.9404, allocations: 15.98 kB / 1.153 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9405, allocations: 0 / 1.153 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.9405, allocations: 3.984 kB / 1.153 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.9427, allocations: 1.816 MB / 1.155 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.9428, allocations: 0 / 1.155 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/0.9452, allocations: 471.3 kB / 1.155 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.9458, allocations: 88.77 kB / 1.156 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.946, allocations: 51.94 kB / 1.156 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.9479, allocations: 1.559 MB / 1.157 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9479, allocations: 4 kB / 1.157 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008329/0.9562, allocations: 2.81 MB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/0.957, allocations: 483 kB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.9572, allocations: 31.94 kB / 1.16 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.9595, allocations: 303.6 kB / 1.161 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.9597, allocations: 105.2 kB / 1.161 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.9598, allocations: 63.94 kB / 1.161 GB, free: 11.72 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007975/0.9606, allocations: 0.5849 MB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.443e-06/0.9606, allocations: 4 kB / 1.161 GB, free: 11.13 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001281/0.9619, allocations: 0.4949 MB / 1.162 GB, free: 10.64 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.9634, allocations: 0.6313 MB / 1.163 GB, free: 10.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008058/0.9715, allocations: 2.75 MB / 1.165 GB, free: 7.414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.9715, allocations: 0 / 1.165 GB, free: 7.414 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00416/0.9757, allocations: 1.513 MB / 1.167 GB, free: 5.891 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.9773, allocations: 309.5 kB / 1.167 GB, free: 5.598 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/0.9859, allocations: 3.982 MB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.9867, allocations: 1.191 MB / 1.172 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009455/0.9877, allocations: 199.2 kB / 1.172 GB, free: 168 kB / 0.92 GB Notification: Performance of SimCode: time 8.12e-07/0.9877, allocations: 0 / 1.172 GB, free: 168 kB / 0.92 GB Notification: Performance of Templates: time 0.04063/1.028, allocations: 30.24 MB / 1.202 GB, free: 1.98 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches