Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007862, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009102/0.0009101, allocations: 183.7 kB / 16.92 MB, free: 6.707 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.367 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.466/2.466, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003791, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.7467, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1731/0.9198, allocations: 152.9 MB / 1.105 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02626/0.9461, allocations: 21.63 MB / 1.126 GB, free: 272 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.9486, allocations: 51.69 kB / 1.126 GB, free: 220 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002751/0.9514, allocations: 2.109 MB / 1.128 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.9539, allocations: 1.367 MB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.9557, allocations: 0.5119 MB / 1.13 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002692/0.9584, allocations: 1.898 MB / 1.132 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.9601, allocations: 0.9486 MB / 1.133 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.9615, allocations: 0.7514 MB / 1.134 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.9634, allocations: 1.475 MB / 1.135 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.9636, allocations: 40 kB / 1.135 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.9641, allocations: 79.97 kB / 1.135 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005053/0.9646, allocations: 0.4964 MB / 1.136 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008552/0.9654, allocations: 0.715 MB / 1.136 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.9668, allocations: 1.364 MB / 1.138 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9668, allocations: 4 kB / 1.138 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9668, allocations: 0 / 1.138 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.696e-05/0.9669, allocations: 0 / 1.138 GB, free: 4.402 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00353/0.9704, allocations: 2.006 MB / 1.14 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9705, allocations: 12.03 kB / 1.14 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.9709, allocations: 230 kB / 1.14 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.9723, allocations: 1.003 MB / 1.141 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.9725, allocations: 94.94 kB / 1.141 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.9726, allocations: 60 kB / 1.141 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.974, allocations: 0.7447 MB / 1.142 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.974, allocations: 0 / 1.142 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.9741, allocations: 27.98 kB / 1.142 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.9741, allocations: 12 kB / 1.142 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.9753, allocations: 0.618 MB / 1.142 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004645/0.9799, allocations: 3.58 MB / 1.146 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.9815, allocations: 0.7351 MB / 1.147 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.9822, allocations: 419.9 kB / 1.147 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.484e-05/0.9823, allocations: 8.562 kB / 1.147 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007775/0.9831, allocations: 446.8 kB / 1.147 GB, free: 10 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/0.9831, allocations: 0 / 1.147 GB, free: 10 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.00428/0.9874, allocations: 1.843 MB / 1.149 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.9874, allocations: 59.97 kB / 1.149 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.9908, allocations: 3.312 MB / 1.152 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.9909, allocations: 41.7 kB / 1.153 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007553/0.9916, allocations: 0.886 MB / 1.153 GB, free: 3.758 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.9919, allocations: 224.9 kB / 1.154 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.992, allocations: 69.69 kB / 1.154 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9921, allocations: 334 kB / 1.154 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.9928, allocations: 329.8 kB / 1.154 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.9936, allocations: 458.3 kB / 1.155 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.9949, allocations: 0.7436 MB / 1.155 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.9949, allocations: 7.938 kB / 1.155 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00233/0.9973, allocations: 1.247 MB / 1.157 GB, free: 272 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.9973, allocations: 11.94 kB / 1.157 GB, free: 260 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.9973, allocations: 4 kB / 1.157 GB, free: 256 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007373/0.9981, allocations: 259.2 kB / 1.157 GB, free: 15.99 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.9986, allocations: 139.8 kB / 1.157 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/1.003, allocations: 4.37 MB / 1.161 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/1.004, allocations: 115.4 kB / 1.161 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/1.004, allocations: 24 kB / 1.161 GB, free: 11.08 MB / 0.92 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008933/1.005, allocations: 0.6108 MB / 1.162 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/1.005, allocations: 209.3 kB / 1.162 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/1.006, allocations: 256.5 kB / 1.163 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.006, allocations: 8 kB / 1.163 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/1.006, allocations: 4 kB / 1.163 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.006, allocations: 3.984 kB / 1.163 GB, free: 9.984 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/1.01, allocations: 2.362 MB / 1.165 GB, free: 7.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.01, allocations: 3.984 kB / 1.165 GB, free: 7.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/1.01, allocations: 67.91 kB / 1.165 GB, free: 7.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006465/1.011, allocations: 257.4 kB / 1.165 GB, free: 7.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/1.011, allocations: 19.98 kB / 1.165 GB, free: 7.211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/1.016, allocations: 4.368 MB / 1.169 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.016, allocations: 4.062 kB / 1.169 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/1.019, allocations: 1.606 MB / 1.171 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/1.019, allocations: 326.3 kB / 1.171 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.019, allocations: 19.92 kB / 1.171 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/1.02, allocations: 55.95 kB / 1.171 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.02, allocations: 76.39 kB / 1.171 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/1.02, allocations: 23.98 kB / 1.171 GB, free: 432 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003001/1.023, allocations: 2.423 MB / 1.174 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/1.023, allocations: 4 kB / 1.174 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001092/1.024, allocations: 292.3 kB / 1.174 GB, free: 13.7 MB / 0.9356 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001238/1.026, allocations: 491.5 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002187/1.028, allocations: 1.086 MB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.028, allocations: 3.75 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.029, allocations: 0.6982 MB / 1.176 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.031, allocations: 263.8 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006837/1.037, allocations: 4.713 MB / 1.181 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/1.039, allocations: 1.52 MB / 1.183 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.039, allocations: 71.41 kB / 1.183 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/1.039, allocations: 0 / 1.183 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.04411/1.083, allocations: 31.11 MB / 1.213 GB, free: 5.852 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches