Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001125/0.001125, allocations: 172.7 kB / 15.95 MB, free: 208 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.301 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.455/2.455, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003973, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7817/0.7822, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1555/0.9377, allocations: 142.9 MB / 1.094 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02495/0.9627, allocations: 20.57 MB / 1.114 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.9644, allocations: 47.69 kB / 1.114 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.9667, allocations: 2.07 MB / 1.116 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.9687, allocations: 1.363 MB / 1.117 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.9701, allocations: 490 kB / 1.118 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.9721, allocations: 1.793 MB / 1.12 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.9732, allocations: 0.8509 MB / 1.12 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.9743, allocations: 0.7748 MB / 1.121 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.9758, allocations: 1.338 MB / 1.123 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.9759, allocations: 40 kB / 1.123 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.9762, allocations: 75.98 kB / 1.123 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.9766, allocations: 0.5099 MB / 1.123 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.9769, allocations: 328.5 kB / 1.123 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.9781, allocations: 1.411 MB / 1.125 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9781, allocations: 8 kB / 1.125 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9781, allocations: 4 kB / 1.125 GB, free: 0.5625 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.9782, allocations: 3.938 kB / 1.125 GB, free: 0.5586 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002971/0.9811, allocations: 2.081 MB / 1.127 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.9812, allocations: 8.031 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.9815, allocations: 237 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.9827, allocations: 0.9275 MB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.9828, allocations: 98.94 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.983, allocations: 75.84 kB / 1.128 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.9843, allocations: 0.7923 MB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.9844, allocations: 0 / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.9844, allocations: 24 kB / 1.129 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.9845, allocations: 16 kB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.9857, allocations: 0.653 MB / 1.13 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.9905, allocations: 3.799 MB / 1.133 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.9921, allocations: 0.771 MB / 1.134 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.9928, allocations: 430.3 kB / 1.135 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/0.9929, allocations: 8.562 kB / 1.135 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000794/0.9937, allocations: 464 kB / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/0.9937, allocations: 0 / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=73): time 0.003997/0.9977, allocations: 1.846 MB / 1.137 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.9978, allocations: 64.06 kB / 1.137 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/1.001, allocations: 3.363 MB / 1.14 GB, free: 416 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/1.001, allocations: 45.7 kB / 1.14 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/1.002, allocations: 0.9215 MB / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/1.002, allocations: 240.6 kB / 1.141 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/1.002, allocations: 16 kB / 1.141 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.002, allocations: 337.9 kB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006674/1.003, allocations: 337.8 kB / 1.142 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/1.004, allocations: 491.9 kB / 1.142 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/1.005, allocations: 382 kB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.005, allocations: 4 kB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002277/1.007, allocations: 1.28 MB / 1.144 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.007, allocations: 7.953 kB / 1.144 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.007, allocations: 4 kB / 1.144 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/1.008, allocations: 263.5 kB / 1.144 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/1.008, allocations: 147.7 kB / 1.144 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/1.013, allocations: 4.354 MB / 1.149 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/1.014, allocations: 123.3 kB / 1.149 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/1.014, allocations: 28 kB / 1.149 GB, free: 7.125 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008723/1.014, allocations: 0.6186 MB / 1.149 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/1.015, allocations: 209.3 kB / 1.15 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/1.015, allocations: 261.1 kB / 1.15 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.015, allocations: 11.95 kB / 1.15 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.015, allocations: 4 kB / 1.15 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.015, allocations: 3.984 kB / 1.15 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/1.019, allocations: 2.432 MB / 1.152 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.019, allocations: 4 kB / 1.152 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/1.019, allocations: 75.89 kB / 1.152 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006021/1.02, allocations: 249.5 kB / 1.153 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/1.02, allocations: 19.98 kB / 1.153 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/1.024, allocations: 4.35 MB / 1.157 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.024, allocations: 4 kB / 1.157 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/1.027, allocations: 1.656 MB / 1.158 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/1.027, allocations: 338.1 kB / 1.159 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/1.027, allocations: 23.98 kB / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/1.028, allocations: 55.95 kB / 1.159 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.028, allocations: 76.47 kB / 1.159 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/1.028, allocations: 24 kB / 1.159 GB, free: 12.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002598/1.031, allocations: 2.468 MB / 1.161 GB, free: 9.855 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/1.031, allocations: 0 / 1.161 GB, free: 9.855 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009715/1.032, allocations: 303.4 kB / 1.162 GB, free: 9.559 MB / 0.92 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/1.033, allocations: 490.2 kB / 1.162 GB, free: 9.262 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.035, allocations: 1.121 MB / 1.163 GB, free: 8.117 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.035, allocations: 4 kB / 1.163 GB, free: 8.113 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.036, allocations: 0.7067 MB / 1.164 GB, free: 7.379 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.037, allocations: 281.5 kB / 1.164 GB, free: 7.105 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/1.044, allocations: 4.531 MB / 1.169 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.045, allocations: 1.556 MB / 1.17 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005763/1.046, allocations: 162.6 kB / 1.17 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/1.046, allocations: 67.42 kB / 1.17 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of SimCode: time 1.002e-06/1.046, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of Templates: time 0.02642/1.073, allocations: 13.52 MB / 1.184 GB, free: 3.391 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches