Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 100 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.001129/0.001129, 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.35/1.35, 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.491/2.491, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7622, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1604/0.9226, allocations: 135.8 MB / 1.153 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.9525, allocations: 22.73 MB / 1.176 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.9554, allocations: 67.62 kB / 1.176 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.9582, allocations: 0.9451 MB / 1.177 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007223/0.9654, allocations: 2.144 MB / 1.179 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00542/0.9709, allocations: 1.672 MB / 1.18 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006212/0.9771, allocations: 2.905 MB / 1.183 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.9811, allocations: 2.9 MB / 1.186 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.9832, allocations: 1.339 MB / 1.187 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.9855, allocations: 1.646 MB / 1.189 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.9859, allocations: 104 kB / 1.189 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.9876, allocations: 0.5736 MB / 1.19 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006501/0.9882, allocations: 0.7082 MB / 1.19 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006804/0.9889, allocations: 0.6402 MB / 1.191 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.9932, allocations: 4.38 MB / 1.195 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.9933, allocations: 0 / 1.195 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9933, allocations: 0 / 1.195 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001354/0.9934, allocations: 0 / 1.195 GB, free: 14.11 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.009103/1.003, allocations: 3.939 MB / 1.199 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.003, allocations: 15.98 kB / 1.199 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/1.017, allocations: 2.882 MB / 1.202 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006057/1.023, allocations: 2.179 MB / 1.204 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/1.023, allocations: 246.4 kB / 1.204 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009149/1.024, allocations: 308 kB / 1.204 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/1.036, allocations: 5.158 MB / 1.21 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/1.036, allocations: 0 / 1.21 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/1.037, allocations: 132 kB / 1.21 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/1.037, allocations: 80 kB / 1.21 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/1.053, allocations: 6.354 MB / 1.216 GB, free: 8.562 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03287/1.086, allocations: 14.18 MB / 1.23 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/1.099, allocations: 4.751 MB / 1.234 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/1.1, allocations: 0.6696 MB / 1.235 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006797/1.107, allocations: 2.61 MB / 1.238 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=278): time 7.614e-06/1.107, allocations: 0 / 1.238 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=278): time 0.0206/1.127, allocations: 7.407 MB / 1.245 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/1.128, allocations: 210.1 kB / 1.245 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/1.132, allocations: 2.442 MB / 1.247 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006783/1.133, allocations: 73.7 kB / 1.247 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/1.134, allocations: 1.342 MB / 1.249 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.136, allocations: 0.9088 MB / 1.25 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/1.136, allocations: 48 kB / 1.25 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002654/1.136, allocations: 414.8 kB / 1.25 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005095/1.142, allocations: 2.003 MB / 1.252 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005374/1.147, allocations: 2.32 MB / 1.254 GB, free: 268 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6453/1.792, allocations: 2.116 MB / 1.256 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/1.792, allocations: 1.922 kB / 1.256 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01456/1.807, allocations: 4.935 MB / 1.261 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/1.807, allocations: 7.125 kB / 1.261 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.807, allocations: 10.38 kB / 1.261 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/1.808, allocations: 234 kB / 1.261 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004978/1.813, allocations: 0.8398 MB / 1.262 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/1.818, allocations: 3.18 MB / 1.265 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004839/1.822, allocations: 0.5803 MB / 1.266 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006448/1.823, allocations: 112 kB / 1.266 GB, free: 221.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$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.HDifTil[1].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 291 * 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: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002568/1.826, allocations: 0.9454 MB / 1.267 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007603/1.826, allocations: 277.1 kB / 1.267 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.841, allocations: 5.654 MB / 1.273 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/1.841, allocations: 27.59 kB / 1.273 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.841, allocations: 7.531 kB / 1.273 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/1.841, allocations: 19.16 kB / 1.273 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/1.846, allocations: 3.694 MB / 1.276 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.846, allocations: 1.125 kB / 1.276 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003828/1.85, allocations: 0.7827 MB / 1.277 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007857/1.851, allocations: 254.3 kB / 1.277 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/1.851, allocations: 85.64 kB / 1.278 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/1.855, allocations: 4.864 MB / 1.282 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.855, allocations: 3.234 kB / 1.282 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/1.87, allocations: 8.019 MB / 1.29 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.872, allocations: 0.8918 MB / 1.291 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004935/1.873, allocations: 59.05 kB / 1.291 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.876, allocations: 452.4 kB / 1.291 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/1.876, allocations: 206.7 kB / 1.292 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.876, allocations: 111.9 kB / 1.292 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001968/1.878, allocations: 1.772 MB / 1.294 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.878, allocations: 0 / 1.294 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002649/1.881, allocations: 1.031 MB / 1.295 GB, free: 206.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002163/1.883, allocations: 1.032 MB / 1.296 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.893, allocations: 4.845 MB / 1.3 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.893, allocations: 4.625 kB / 1.3 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005416/1.899, allocations: 2.776 MB / 1.303 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/1.902, allocations: 0.5582 MB / 1.304 GB, free: 197.3 MB / 0.9981 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.915, allocations: 9.202 MB / 1.312 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/1.916, allocations: 2.519 MB / 1.315 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004356/1.921, allocations: 1.143 MB / 1.316 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.922, allocations: 283.2 kB / 1.316 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.114e-06/1.922, allocations: 0 / 1.316 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06495/1.987, allocations: 43.4 MB / 1.359 GB, free: 141 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches