Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 100.1 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.001067/0.001067, 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.426/1.426, 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 9.1.2-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004844, allocations: 11.94 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7884, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1787/0.9672, allocations: 136.2 MB / 1.087 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03587/1.003, allocations: 22.92 MB / 1.109 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004078/1.007, allocations: 59.62 kB / 1.109 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003403/1.011, allocations: 0.9723 MB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008741/1.019, allocations: 2.188 MB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006024/1.025, allocations: 1.702 MB / 1.114 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006915/1.032, allocations: 3.067 MB / 1.117 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004793/1.037, allocations: 3.029 MB / 1.12 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/1.04, allocations: 1.393 MB / 1.121 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/1.043, allocations: 1.716 MB / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005772/1.044, allocations: 116 kB / 1.123 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/1.046, allocations: 0.5892 MB / 1.123 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000788/1.047, allocations: 0.751 MB / 1.124 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009181/1.048, allocations: 0.6598 MB / 1.125 GB, free: 344 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005225/1.053, allocations: 4.602 MB / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.053, allocations: 0 / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.306e-06/1.053, allocations: 0 / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000182/1.053, allocations: 0 / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01083/1.064, allocations: 4.088 MB / 1.133 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.064, allocations: 8.031 kB / 1.133 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/1.078, allocations: 2.901 MB / 1.136 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006162/1.085, allocations: 2.262 MB / 1.138 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/1.085, allocations: 246.7 kB / 1.139 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/1.086, allocations: 324 kB / 1.139 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/1.1, allocations: 5.327 MB / 1.144 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.525e-05/1.101, allocations: 4 kB / 1.144 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/1.101, allocations: 140 kB / 1.144 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-05/1.101, allocations: 80 kB / 1.144 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/1.117, allocations: 6.53 MB / 1.151 GB, free: 5.57 MB / 0.9044 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.03217/1.149, allocations: 15.06 MB / 1.165 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.162, allocations: 4.891 MB / 1.17 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/1.164, allocations: 0.6815 MB / 1.171 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007331/1.171, allocations: 2.698 MB / 1.173 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=291): time 7.274e-06/1.171, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=291): time 0.02232/1.193, allocations: 7.988 MB / 1.181 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/1.193, allocations: 210.2 kB / 1.181 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004568/1.198, allocations: 2.516 MB / 1.184 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005797/1.199, allocations: 77.7 kB / 1.184 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/1.2, allocations: 1.416 MB / 1.185 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/1.201, allocations: 0.9473 MB / 1.186 GB, free: 184 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00041/1.202, allocations: 48 kB / 1.186 GB, free: 136 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002642/1.202, allocations: 415.1 kB / 1.187 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005047/1.207, allocations: 2.077 MB / 1.189 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005551/1.213, allocations: 2.403 MB / 1.191 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005783/1.219, allocations: 2.204 MB / 1.193 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/1.219, allocations: 4 kB / 1.193 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=328) (initialization): time 0.0153/1.234, allocations: 5.193 MB / 1.198 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/1.234, allocations: 8 kB / 1.198 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.234, allocations: 4 kB / 1.198 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/1.235, allocations: 344.9 kB / 1.199 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005036/1.24, allocations: 0.858 MB / 1.199 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/1.246, allocations: 4.026 MB / 1.203 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/1.25, allocations: 0.5791 MB / 1.204 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000805/1.251, allocations: 111.9 kB / 1.204 GB, free: 13.62 MB / 0.9669 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 (298): * Single equations (assignments): 297 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002991/1.254, allocations: 0.9831 MB / 1.205 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.255, allocations: 288.4 kB / 1.205 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.271, allocations: 5.924 MB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/1.271, allocations: 32 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/1.271, allocations: 4 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/1.271, allocations: 19.89 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007207/1.278, allocations: 3.862 MB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/1.278, allocations: 0 / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004121/1.282, allocations: 0.7918 MB / 1.216 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/1.283, allocations: 383.2 kB / 1.216 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005295/1.284, allocations: 87.91 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006792/1.291, allocations: 5.899 MB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/1.291, allocations: 0 / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/1.313, allocations: 8.409 MB / 1.23 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003109/1.316, allocations: 0.9142 MB / 1.231 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/1.317, allocations: 60 kB / 1.231 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003981/1.321, allocations: 459.3 kB / 1.232 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/1.322, allocations: 218.1 kB / 1.232 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004865/1.322, allocations: 107.9 kB / 1.232 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003642/1.326, allocations: 1.83 MB / 1.234 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.326, allocations: 7.875 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004555/1.33, allocations: 1.087 MB / 1.235 GB, free: 13.73 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (279): * Single equations (assignments): 265 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002995/1.333, allocations: 1.039 MB / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.346, allocations: 5.081 MB / 1.241 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.346, allocations: 4 kB / 1.241 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006836/1.353, allocations: 2.919 MB / 1.244 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/1.357, allocations: 0.586 MB / 1.244 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5496/1.906, allocations: 9.586 MB / 1.253 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/1.91, allocations: 2.609 MB / 1.256 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005888/1.916, allocations: 1.161 MB / 1.257 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.917, allocations: 283.1 kB / 1.257 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.917, allocations: 0.5 kB / 1.257 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.08211/1.999, allocations: 45.76 MB / 1.302 GB, free: 244.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches