Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001238/0.001238, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 16 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6886, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006308/0.6949, allocations: 4.415 MB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1543/0.8493, allocations: 128 MB / 1.15 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.8505, allocations: 23.81 kB / 1.15 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.8509, allocations: 87.19 kB / 1.15 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.853, allocations: 0.5731 MB / 1.151 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.8552, allocations: 0.7361 MB / 1.151 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002642/0.8579, allocations: 1.127 MB / 1.153 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.8591, allocations: 0.6792 MB / 1.153 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009794/0.86, allocations: 494 kB / 1.154 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006796/0.8607, allocations: 0.5054 MB / 1.154 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.8609, allocations: 40 kB / 1.154 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.8621, allocations: 431.5 kB / 1.155 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.8624, allocations: 286.9 kB / 1.155 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.8627, allocations: 272.9 kB / 1.155 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.8646, allocations: 1.765 MB / 1.157 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8646, allocations: 0 / 1.157 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8646, allocations: 4 kB / 1.157 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.8646, allocations: 0 / 1.157 GB, free: 5.316 MB / 0.9044 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.003241/0.8679, allocations: 1.59 MB / 1.158 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8679, allocations: 11.98 kB / 1.158 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009416/0.8773, allocations: 1.582 MB / 1.16 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.8796, allocations: 1 MB / 1.161 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.8797, allocations: 102.6 kB / 1.161 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.88, allocations: 136 kB / 1.161 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00547/0.8855, allocations: 2.303 MB / 1.163 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.8855, allocations: 3.984 kB / 1.164 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.8857, allocations: 60 kB / 1.164 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.8857, allocations: 32 kB / 1.164 GB, free: 14.33 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00827/0.894, allocations: 3.195 MB / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009904/0.9039, allocations: 5.169 MB / 1.172 GB, free: 5.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008467/0.9125, allocations: 3.155 MB / 1.175 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/0.9131, allocations: 0.6144 MB / 1.175 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003748/0.9168, allocations: 1.564 MB / 1.177 GB, free: 404 kB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.036e-06/0.9168, allocations: 0 / 1.177 GB, free: 404 kB / 0.92 GB Notification: Performance of matching and sorting (n=133): time 0.01162/0.9285, allocations: 3.947 MB / 1.181 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.9287, allocations: 197.2 kB / 1.181 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.93, allocations: 0.8176 MB / 1.182 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.9302, allocations: 49.7 kB / 1.182 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.9307, allocations: 0.5124 MB / 1.182 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.9311, allocations: 429.7 kB / 1.183 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.9312, allocations: 28 kB / 1.183 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9314, allocations: 349.9 kB / 1.183 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/0.9346, allocations: 1.142 MB / 1.184 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/0.9378, allocations: 1.284 MB / 1.185 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.941, allocations: 1.123 MB / 1.187 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.941, allocations: 0 / 1.187 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007519/0.9486, allocations: 2.655 MB / 1.189 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.9486, allocations: 4 kB / 1.189 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.9486, allocations: 0 / 1.189 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.9492, allocations: 88.83 kB / 1.189 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/0.9517, allocations: 483.3 kB / 1.19 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.9537, allocations: 1.551 MB / 1.191 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.9561, allocations: 347.4 kB / 1.192 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.9563, allocations: 59.92 kB / 1.192 GB, free: 1.074 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007536/0.9571, allocations: 351.3 kB / 1.192 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.9573, allocations: 118.6 kB / 1.192 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00862/0.9659, allocations: 3.11 MB / 1.195 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.966, allocations: 16 kB / 1.195 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.966, allocations: 4 kB / 1.195 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.966, allocations: 7.969 kB / 1.195 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.9685, allocations: 1.819 MB / 1.197 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.9685, allocations: 0 / 1.197 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/0.9709, allocations: 471.3 kB / 1.197 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005335/0.9715, allocations: 84.78 kB / 1.197 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.9717, allocations: 59.86 kB / 1.198 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.9735, allocations: 1.575 MB / 1.199 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.9736, allocations: 4.062 kB / 1.199 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008027/0.9816, allocations: 2.799 MB / 1.202 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.9826, allocations: 487 kB / 1.202 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/0.983, allocations: 28 kB / 1.202 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/0.9852, allocations: 307.2 kB / 1.203 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.9855, allocations: 109.1 kB / 1.203 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.9856, allocations: 67.92 kB / 1.203 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008768/0.9865, allocations: 0.5732 MB / 1.203 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9865, allocations: 0 / 1.203 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001468/0.988, allocations: 498.8 kB / 1.204 GB, free: 4.379 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.9895, allocations: 0.6419 MB / 1.204 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007811/0.9974, allocations: 2.703 MB / 1.207 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9974, allocations: 128 / 1.207 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/1.001, allocations: 1.517 MB / 1.209 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.003, allocations: 259.9 kB / 1.209 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008332/1.011, allocations: 3.825 MB / 1.213 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/1.012, allocations: 1.218 MB / 1.214 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002119/1.014, allocations: 497.3 kB / 1.214 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006917/1.015, allocations: 171.2 kB / 1.214 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of SimCode: time 1.392e-06/1.015, allocations: 0 / 1.214 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.03581/1.051, allocations: 21.87 MB / 1.236 GB, free: 3.949 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches