Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001126/0.001126, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.017/2.017, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 61.44 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2398, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.5713/0.8111, allocations: 157 MB / 1.104 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.8339, allocations: 21.87 MB / 1.126 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.8361, allocations: 56.34 kB / 1.126 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.838, allocations: 1.342 MB / 1.127 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.8397, allocations: 0.972 MB / 1.128 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.8409, allocations: 0.5086 MB / 1.129 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.8424, allocations: 1.434 MB / 1.13 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.8435, allocations: 0.7913 MB / 1.131 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.8444, allocations: 0.6449 MB / 1.131 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.8457, allocations: 1.107 MB / 1.133 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.8458, allocations: 71.84 kB / 1.133 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.8462, allocations: 125 kB / 1.133 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.8464, allocations: 368.9 kB / 1.133 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.8468, allocations: 0.5555 MB / 1.134 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.8481, allocations: 1.371 MB / 1.135 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8482, allocations: 1 kB / 1.135 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8482, allocations: 1.062 kB / 1.135 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.8482, allocations: 0 / 1.135 GB, free: 6.57 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002695/0.8509, allocations: 1.68 MB / 1.137 GB, free: 21.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8509, allocations: 9.75 kB / 1.137 GB, free: 21.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.8512, allocations: 160 kB / 1.137 GB, free: 21.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.8522, allocations: 0.7562 MB / 1.137 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.8523, allocations: 78.8 kB / 1.138 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.8524, allocations: 49.16 kB / 1.138 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.8533, allocations: 0.5751 MB / 1.138 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.8533, allocations: 1.156 kB / 1.138 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.8534, allocations: 18.78 kB / 1.138 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.8534, allocations: 11.72 kB / 1.138 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.8543, allocations: 451.3 kB / 1.139 GB, free: 20.98 MB / 0.8731 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.003591/0.8579, allocations: 2.995 MB / 1.142 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.8589, allocations: 499.8 kB / 1.142 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.8595, allocations: 317.8 kB / 1.142 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.8595, allocations: 12.86 kB / 1.142 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/0.8602, allocations: 332.6 kB / 1.143 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=52): time 1.954e-06/0.8602, allocations: 0.625 kB / 1.143 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.002928/0.8631, allocations: 1.343 MB / 1.144 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.8632, allocations: 63.62 kB / 1.144 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.8651, allocations: 2.112 MB / 1.146 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.8651, allocations: 49.44 kB / 1.146 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.8655, allocations: 0.6249 MB / 1.147 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.8656, allocations: 167.3 kB / 1.147 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.8658, allocations: 103.4 kB / 1.147 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8659, allocations: 333.2 kB / 1.147 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.8664, allocations: 236.6 kB / 1.148 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.8669, allocations: 344.8 kB / 1.148 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.8677, allocations: 0.5501 MB / 1.148 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8677, allocations: 2.031 kB / 1.148 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001454/0.8691, allocations: 0.9125 MB / 1.149 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8692, allocations: 13.27 kB / 1.149 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8692, allocations: 2.5 kB / 1.149 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.8696, allocations: 190.4 kB / 1.149 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.87, allocations: 108.8 kB / 1.15 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.873, allocations: 3.052 MB / 1.153 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.8735, allocations: 75.03 kB / 1.153 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.8735, allocations: 25 kB / 1.153 GB, free: 14.02 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005138/0.874, allocations: 440 kB / 1.153 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8742, allocations: 138.8 kB / 1.153 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.8744, allocations: 165.5 kB / 1.153 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.8744, allocations: 5.656 kB / 1.153 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.8744, allocations: 9.547 kB / 1.153 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8744, allocations: 0.7188 kB / 1.153 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.8767, allocations: 1.738 MB / 1.155 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8767, allocations: 2.625 kB / 1.155 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.877, allocations: 49.78 kB / 1.155 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004033/0.8774, allocations: 199.5 kB / 1.155 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.8774, allocations: 15.75 kB / 1.155 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.8811, allocations: 4.603 MB / 1.16 GB, free: 9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8811, allocations: 0.8438 kB / 1.16 GB, free: 9 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.8828, allocations: 1.17 MB / 1.161 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.8832, allocations: 240.9 kB / 1.161 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.8833, allocations: 17.19 kB / 1.161 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.8836, allocations: 35.12 kB / 1.161 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.8837, allocations: 54.09 kB / 1.161 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.8838, allocations: 22.61 kB / 1.161 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001432/0.8852, allocations: 1.545 MB / 1.163 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8852, allocations: 0.8125 kB / 1.163 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000766/0.886, allocations: 225.5 kB / 1.163 GB, free: 7.699 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.887, allocations: 498.1 kB / 1.164 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.8883, allocations: 0.7501 MB / 1.164 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8884, allocations: 2.156 kB / 1.164 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.8891, allocations: 0.5844 MB / 1.165 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.8901, allocations: 234.6 kB / 1.165 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.8935, allocations: 2.772 MB / 1.168 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/0.8943, allocations: 1.246 MB / 1.169 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.8945, allocations: 107.6 kB / 1.169 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.8947, allocations: 58.47 kB / 1.169 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/0.8947, allocations: 0 / 1.169 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of Templates: time 0.01762/0.9123, allocations: 11.44 MB / 1.18 GB, free: 1.84 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches