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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001782/0.001782, allocations: 194.1 kB / 16.14 MB, free: 6.645 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8621, allocations: 140.4 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.2096/1.072, allocations: 155 MB / 1.1 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02918/1.101, allocations: 21.86 MB / 1.122 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/1.104, allocations: 51.69 kB / 1.122 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002473/1.107, allocations: 2.109 MB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/1.109, allocations: 1.363 MB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/1.111, allocations: 0.5143 MB / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00247/1.113, allocations: 1.898 MB / 1.127 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/1.114, allocations: 0.9993 MB / 1.128 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/1.116, allocations: 0.7826 MB / 1.129 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/1.117, allocations: 1.518 MB / 1.131 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/1.117, allocations: 56 kB / 1.131 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/1.118, allocations: 99.97 kB / 1.131 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004462/1.118, allocations: 0.5237 MB / 1.131 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006481/1.119, allocations: 0.7251 MB / 1.132 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/1.12, allocations: 1.775 MB / 1.134 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.12, allocations: 0 / 1.134 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/1.12, allocations: 7.938 kB / 1.134 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.686e-05/1.12, allocations: 0 / 1.134 GB, free: 4.188 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.003369/1.124, allocations: 2.281 MB / 1.136 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.124, allocations: 16.03 kB / 1.136 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/1.124, allocations: 222.1 kB / 1.136 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/1.125, allocations: 1.007 MB / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/1.126, allocations: 86.98 kB / 1.137 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/1.126, allocations: 67.91 kB / 1.137 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/1.127, allocations: 0.7291 MB / 1.138 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.127, allocations: 0 / 1.138 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/1.127, allocations: 24 kB / 1.138 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/1.127, allocations: 16 kB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/1.128, allocations: 0.5945 MB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004939/1.133, allocations: 3.517 MB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/1.135, allocations: 0.7112 MB / 1.143 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/1.136, allocations: 402.3 kB / 1.143 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/1.136, allocations: 12.56 kB / 1.143 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007823/1.136, allocations: 438.7 kB / 1.144 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 3.166e-06/1.136, allocations: 0 / 1.144 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.004312/1.141, allocations: 1.8 MB / 1.145 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/1.141, allocations: 59.97 kB / 1.145 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/1.144, allocations: 3.308 MB / 1.149 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/1.144, allocations: 45.7 kB / 1.149 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007627/1.145, allocations: 0.886 MB / 1.15 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/1.145, allocations: 224.9 kB / 1.15 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/1.146, allocations: 134.6 kB / 1.15 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.146, allocations: 338 kB / 1.15 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/1.146, allocations: 305.7 kB / 1.151 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/1.147, allocations: 434.4 kB / 1.151 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.148, allocations: 0.7113 MB / 1.152 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.148, allocations: 11.94 kB / 1.152 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002377/1.151, allocations: 1.206 MB / 1.153 GB, free: 12 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/1.151, allocations: 16.08 kB / 1.153 GB, free: 15.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.151, allocations: 4 kB / 1.153 GB, free: 15.99 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/1.152, allocations: 257.5 kB / 1.153 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/1.152, allocations: 131.8 kB / 1.153 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/1.157, allocations: 4.361 MB / 1.157 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/1.158, allocations: 107.3 kB / 1.158 GB, free: 10.87 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.158, allocations: 28 kB / 1.158 GB, free: 10.84 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.0009938/1.159, allocations: 0.6067 MB / 1.158 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/1.159, allocations: 209.3 kB / 1.158 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/1.159, allocations: 256.4 kB / 1.159 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/1.159, allocations: 8 kB / 1.159 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.159, allocations: 4 kB / 1.159 GB, free: 9.754 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.159, allocations: 3.984 kB / 1.159 GB, free: 9.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/1.163, allocations: 2.338 MB / 1.161 GB, free: 7.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.163, allocations: 0 / 1.161 GB, free: 7.348 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/1.163, allocations: 67.89 kB / 1.161 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006199/1.164, allocations: 259 kB / 1.161 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/1.164, allocations: 19.98 kB / 1.161 GB, free: 7.004 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/1.168, allocations: 4.361 MB / 1.166 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.168, allocations: 3.938 kB / 1.166 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/1.171, allocations: 1.571 MB / 1.167 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/1.172, allocations: 318.3 kB / 1.167 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.172, allocations: 12 kB / 1.167 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/1.172, allocations: 47.95 kB / 1.167 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.173, allocations: 76.39 kB / 1.167 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/1.173, allocations: 23.98 kB / 1.167 GB, free: 288 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002692/1.175, allocations: 2.427 MB / 1.17 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.41e-07/1.175, allocations: 0 / 1.17 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001069/1.176, allocations: 292.3 kB / 1.17 GB, free: 13.55 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.001287/1.178, allocations: 495.9 kB / 1.171 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002516/1.18, allocations: 1.061 MB / 1.172 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.18, allocations: 0 / 1.172 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/1.182, allocations: 0.6826 MB / 1.172 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.183, allocations: 265.4 kB / 1.173 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/1.19, allocations: 4.569 MB / 1.177 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.191, allocations: 1.532 MB / 1.179 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005529/1.191, allocations: 150.4 kB / 1.179 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/1.192, allocations: 63.42 kB / 1.179 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of SimCode: time 8.92e-07/1.192, allocations: 0 / 1.179 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of Templates: time 0.02911/1.221, allocations: 13.6 MB / 1.192 GB, free: 7.383 MB / 0.9512 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/jenkins/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