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.001489/0.001489, allocations: 100.1 kB / 15.88 MB, free: 12 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.001825/0.001825, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.617 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.469/2.469, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.745, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1776/0.9227, allocations: 155 MB / 1.101 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02645/0.9491, allocations: 21.85 MB / 1.122 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/0.9516, allocations: 51.69 kB / 1.122 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.9544, allocations: 2.109 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.9569, allocations: 1.363 MB / 1.126 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.9587, allocations: 0.5162 MB / 1.126 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002491/0.9612, allocations: 1.906 MB / 1.128 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.9628, allocations: 0.9915 MB / 1.129 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.9642, allocations: 0.7865 MB / 1.13 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.9662, allocations: 1.518 MB / 1.131 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.9665, allocations: 52 kB / 1.131 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.967, allocations: 95.98 kB / 1.131 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.9675, allocations: 0.5159 MB / 1.132 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009265/0.9685, allocations: 0.7251 MB / 1.133 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.97, allocations: 1.392 MB / 1.134 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9701, allocations: 0 / 1.134 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9701, allocations: 4 kB / 1.134 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.417e-05/0.9702, allocations: 0 / 1.134 GB, free: 4.621 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.004221/0.9744, allocations: 2.277 MB / 1.136 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.9744, allocations: 12.03 kB / 1.136 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/0.9748, allocations: 230.1 kB / 1.136 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.9763, allocations: 1.007 MB / 1.137 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.9765, allocations: 83 kB / 1.138 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.9766, allocations: 71.89 kB / 1.138 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.978, allocations: 0.7329 MB / 1.138 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.9781, allocations: 4 kB / 1.138 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.9781, allocations: 23.98 kB / 1.138 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.9781, allocations: 16 kB / 1.138 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.9794, allocations: 0.5869 MB / 1.139 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.9845, allocations: 3.521 MB / 1.142 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.9861, allocations: 0.7099 MB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.9868, allocations: 406.3 kB / 1.143 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.9869, allocations: 12.56 kB / 1.143 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008311/0.9877, allocations: 438.8 kB / 1.144 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 3.126e-06/0.9877, allocations: 0 / 1.144 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.004279/0.992, allocations: 1.807 MB / 1.146 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.9921, allocations: 63.95 kB / 1.146 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/0.9957, allocations: 3.308 MB / 1.149 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.9957, allocations: 49.69 kB / 1.149 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007254/0.9965, allocations: 0.8782 MB / 1.15 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.9967, allocations: 220.9 kB / 1.15 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.9969, allocations: 134.6 kB / 1.15 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.997, allocations: 341.9 kB / 1.15 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.9977, allocations: 297.8 kB / 1.151 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.9985, allocations: 438.3 kB / 1.151 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.9997, allocations: 0.7152 MB / 1.152 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.9997, allocations: 7.938 kB / 1.152 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002485/1.002, allocations: 1.211 MB / 1.153 GB, free: 440 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.002, allocations: 7.938 kB / 1.153 GB, free: 432 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.002, allocations: 8.094 kB / 1.153 GB, free: 424 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007446/1.003, allocations: 257.5 kB / 1.153 GB, free: 160 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/1.004, allocations: 131.8 kB / 1.153 GB, free: 28 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/1.008, allocations: 4.358 MB / 1.158 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008438/1.009, allocations: 107.3 kB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/1.009, allocations: 28.14 kB / 1.158 GB, free: 11.27 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.0009559/1.01, allocations: 0.6107 MB / 1.158 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.011, allocations: 209.3 kB / 1.159 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/1.011, allocations: 252.5 kB / 1.159 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.011, allocations: 8 kB / 1.159 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.011, allocations: 4 kB / 1.159 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/1.011, allocations: 3.984 kB / 1.159 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/1.015, allocations: 2.338 MB / 1.161 GB, free: 7.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/1.015, allocations: 4 kB / 1.161 GB, free: 7.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/1.016, allocations: 67.91 kB / 1.161 GB, free: 7.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006534/1.016, allocations: 255.1 kB / 1.162 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/1.016, allocations: 20 kB / 1.162 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004506/1.021, allocations: 4.36 MB / 1.166 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.021, allocations: 0 / 1.166 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/1.024, allocations: 1.571 MB / 1.167 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/1.024, allocations: 314.3 kB / 1.168 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.024, allocations: 19.98 kB / 1.168 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/1.025, allocations: 51.95 kB / 1.168 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.025, allocations: 72.39 kB / 1.168 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/1.025, allocations: 23.98 kB / 1.168 GB, free: 0.707 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002691/1.028, allocations: 2.423 MB / 1.17 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.9e-07/1.028, allocations: 0 / 1.17 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001051/1.029, allocations: 296.3 kB / 1.17 GB, free: 13.98 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.00123/1.03, allocations: 494.4 kB / 1.171 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.032, allocations: 1.057 MB / 1.172 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.032, allocations: 3.75 kB / 1.172 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.034, allocations: 0.6865 MB / 1.173 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.035, allocations: 273.8 kB / 1.173 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/1.042, allocations: 4.636 MB / 1.177 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/1.043, allocations: 1.516 MB / 1.179 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.043, allocations: 67.41 kB / 1.179 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of SimCode: time 6.12e-07/1.043, allocations: 0 / 1.179 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of Templates: time 0.04519/1.089, allocations: 31.45 MB / 1.21 GB, free: 5.91 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