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.001068/0.001068, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00888/0.00888, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.316 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.396/2.396, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006153/0.0006158, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9084/0.9091, allocations: 142.4 MB / 0.955 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.2042/1.113, allocations: 152.9 MB / 1.104 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03143/1.145, allocations: 21.64 MB / 1.125 GB, free: 236 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/1.148, allocations: 47.69 kB / 1.125 GB, free: 188 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00301/1.151, allocations: 2.105 MB / 1.128 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004219/1.155, allocations: 1.367 MB / 1.129 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/1.158, allocations: 0.5121 MB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004523/1.162, allocations: 1.898 MB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/1.165, allocations: 0.9486 MB / 1.132 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/1.168, allocations: 0.7553 MB / 1.133 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/1.17, allocations: 1.475 MB / 1.134 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003235/1.17, allocations: 40 kB / 1.134 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/1.171, allocations: 79.98 kB / 1.134 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007724/1.172, allocations: 0.4925 MB / 1.135 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/1.173, allocations: 0.7189 MB / 1.136 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002394/1.175, allocations: 1.743 MB / 1.137 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.176, allocations: 0 / 1.137 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.324e-06/1.176, allocations: 0 / 1.137 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.112e-05/1.176, allocations: 0 / 1.137 GB, free: 3.992 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.004136/1.18, allocations: 1.998 MB / 1.139 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.18, allocations: 8.031 kB / 1.139 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/1.18, allocations: 234 kB / 1.14 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/1.182, allocations: 1.007 MB / 1.141 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.182, allocations: 95 kB / 1.141 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.182, allocations: 63.98 kB / 1.141 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/1.184, allocations: 0.7407 MB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.184, allocations: 4 kB / 1.141 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/1.184, allocations: 28 kB / 1.141 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/1.184, allocations: 12 kB / 1.141 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/1.185, allocations: 0.6141 MB / 1.142 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/1.19, allocations: 3.572 MB / 1.146 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/1.192, allocations: 0.7334 MB / 1.146 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007949/1.193, allocations: 418.3 kB / 1.147 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.821e-05/1.193, allocations: 16.53 kB / 1.147 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008686/1.194, allocations: 434.8 kB / 1.147 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 3.717e-06/1.194, allocations: 0 / 1.147 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.004517/1.198, allocations: 1.846 MB / 1.149 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.198, allocations: 63.95 kB / 1.149 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/1.202, allocations: 3.312 MB / 1.152 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/1.202, allocations: 45.69 kB / 1.152 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/1.203, allocations: 0.8782 MB / 1.153 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/1.203, allocations: 228.9 kB / 1.153 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.204, allocations: 69.67 kB / 1.153 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.204, allocations: 334 kB / 1.154 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/1.204, allocations: 325.8 kB / 1.154 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/1.205, allocations: 458.3 kB / 1.154 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.206, allocations: 0.7475 MB / 1.155 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.206, allocations: 3.938 kB / 1.155 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002523/1.209, allocations: 1.24 MB / 1.156 GB, free: 15.87 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.209, allocations: 11.94 kB / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.209, allocations: 4 kB / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/1.21, allocations: 267.4 kB / 1.157 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/1.21, allocations: 143.8 kB / 1.157 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/1.215, allocations: 4.374 MB / 1.161 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008449/1.216, allocations: 111.4 kB / 1.161 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/1.216, allocations: 35.98 kB / 1.161 GB, free: 10.67 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.001103/1.217, allocations: 0.603 MB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/1.217, allocations: 209.3 kB / 1.162 GB, free: 9.848 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/1.218, allocations: 252.5 kB / 1.162 GB, free: 9.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.218, allocations: 8 kB / 1.162 GB, free: 9.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/1.218, allocations: 4 kB / 1.162 GB, free: 9.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.218, allocations: 7.984 kB / 1.162 GB, free: 9.578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/1.222, allocations: 2.358 MB / 1.165 GB, free: 7.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.222, allocations: 0 / 1.165 GB, free: 7.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/1.222, allocations: 71.89 kB / 1.165 GB, free: 7.086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006301/1.223, allocations: 257.4 kB / 1.165 GB, free: 6.828 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/1.223, allocations: 15.98 kB / 1.165 GB, free: 6.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/1.227, allocations: 4.378 MB / 1.169 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.227, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/1.23, allocations: 1.602 MB / 1.171 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/1.231, allocations: 330.3 kB / 1.171 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.231, allocations: 16 kB / 1.171 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/1.232, allocations: 51.95 kB / 1.171 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.232, allocations: 76.39 kB / 1.171 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/1.232, allocations: 27.98 kB / 1.171 GB, free: 24 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002869/1.235, allocations: 2.423 MB / 1.174 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/1.235, allocations: 0 / 1.174 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001108/1.236, allocations: 296.2 kB / 1.174 GB, free: 13.3 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.001328/1.237, allocations: 498.2 kB / 1.174 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002265/1.239, allocations: 1.089 MB / 1.175 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.239, allocations: 4.125 kB / 1.175 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.241, allocations: 0.6977 MB / 1.176 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.242, allocations: 261.1 kB / 1.176 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/1.249, allocations: 4.637 MB / 1.181 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.25, allocations: 1.528 MB / 1.182 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006201/1.251, allocations: 150.4 kB / 1.182 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/1.251, allocations: 63.42 kB / 1.183 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/1.251, allocations: 3.938 kB / 1.183 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.02807/1.279, allocations: 13.24 MB / 1.195 GB, free: 7.367 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