Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,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.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,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.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.0009935/0.0009934, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.298/2.298, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 55.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.22/1.4, allocations: 157.8 MB / 1.243 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03221/1.432, allocations: 22.2 MB / 1.264 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/1.436, allocations: 67.62 kB / 1.264 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003508/1.44, allocations: 2.744 MB / 1.267 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003566/1.443, allocations: 1.768 MB / 1.269 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/1.446, allocations: 0.7048 MB / 1.27 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003661/1.449, allocations: 2.273 MB / 1.272 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/1.452, allocations: 1.347 MB / 1.273 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/1.454, allocations: 1.118 MB / 1.274 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/1.456, allocations: 1.994 MB / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003069/1.456, allocations: 120 kB / 1.276 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/1.457, allocations: 164 kB / 1.276 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006797/1.458, allocations: 0.7068 MB / 1.277 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.459, allocations: 1.008 MB / 1.278 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/1.461, allocations: 2.399 MB / 1.28 GB, free: 9.195 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.461, allocations: 0 / 1.28 GB, free: 9.195 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/1.461, allocations: 0 / 1.28 GB, free: 9.195 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.781e-05/1.462, allocations: 7.984 kB / 1.28 GB, free: 9.188 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004803/1.466, allocations: 2.944 MB / 1.283 GB, free: 6.172 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.466, allocations: 12.03 kB / 1.283 GB, free: 6.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/1.467, allocations: 309 kB / 1.284 GB, free: 5.855 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.469, allocations: 1.282 MB / 1.285 GB, free: 4.512 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.469, allocations: 107.7 kB / 1.285 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.469, allocations: 91.89 kB / 1.285 GB, free: 4.312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.471, allocations: 0.9616 MB / 1.286 GB, free: 3.336 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/1.471, allocations: 0 / 1.286 GB, free: 3.336 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/1.471, allocations: 35.98 kB / 1.286 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/1.471, allocations: 24 kB / 1.286 GB, free: 3.277 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/1.472, allocations: 0.808 MB / 1.287 GB, free: 2.469 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006257/1.479, allocations: 4.382 MB / 1.291 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/1.481, allocations: 0.9385 MB / 1.292 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000948/1.482, allocations: 0.5264 MB / 1.293 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/1.482, allocations: 20.97 kB / 1.293 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009648/1.483, allocations: 0.5448 MB / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=91): time 2.815e-06/1.483, allocations: 0 / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=91): time 0.004848/1.488, allocations: 2.156 MB / 1.295 GB, free: 9.539 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/1.488, allocations: 72.39 kB / 1.295 GB, free: 9.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/1.493, allocations: 4.431 MB / 1.3 GB, free: 5.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/1.493, allocations: 53.69 kB / 1.3 GB, free: 4.961 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/1.494, allocations: 1.218 MB / 1.301 GB, free: 3.734 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/1.494, allocations: 292 kB / 1.301 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.495, allocations: 166.7 kB / 1.301 GB, free: 3.277 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.495, allocations: 337.9 kB / 1.302 GB, free: 2.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/1.496, allocations: 397.7 kB / 1.302 GB, free: 2.551 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009067/1.497, allocations: 0.5517 MB / 1.303 GB, free: 1.945 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/1.498, allocations: 0.9247 MB / 1.303 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.498, allocations: 0 / 1.303 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002938/1.501, allocations: 1.497 MB / 1.305 GB, free: 15.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.501, allocations: 8 kB / 1.305 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.501, allocations: 7.938 kB / 1.305 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/1.502, allocations: 257.6 kB / 1.305 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/1.503, allocations: 171.8 kB / 1.305 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/1.508, allocations: 4.754 MB / 1.31 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.509, allocations: 139 kB / 1.31 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/1.509, allocations: 36 kB / 1.31 GB, free: 9.828 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.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 (96): * Single equations (assignments): 94 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00125/1.51, allocations: 0.7673 MB / 1.311 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/1.511, allocations: 268.5 kB / 1.311 GB, free: 8.789 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/1.511, allocations: 340.5 kB / 1.311 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.511, allocations: 12 kB / 1.311 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/1.511, allocations: 7.938 kB / 1.311 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.511, allocations: 3.984 kB / 1.312 GB, free: 8.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/1.516, allocations: 2.968 MB / 1.314 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.516, allocations: 0 / 1.314 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/1.516, allocations: 103.8 kB / 1.314 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/1.517, allocations: 249.5 kB / 1.315 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/1.517, allocations: 27.98 kB / 1.315 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/1.522, allocations: 4.739 MB / 1.319 GB, free: 0 / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.522, allocations: 0 / 1.319 GB, free: 0 / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/1.525, allocations: 2.024 MB / 1.321 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/1.526, allocations: 401.3 kB / 1.322 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/1.526, allocations: 19.98 kB / 1.322 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/1.527, allocations: 51.95 kB / 1.322 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.527, allocations: 88.88 kB / 1.322 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/1.527, allocations: 27.98 kB / 1.322 GB, free: 13.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00359/1.531, allocations: 3.255 MB / 1.325 GB, free: 10.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.043e-06/1.531, allocations: 0 / 1.325 GB, free: 10.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001208/1.532, allocations: 363.3 kB / 1.325 GB, free: 9.746 MB / 1.061 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001269/1.533, allocations: 0.5062 MB / 1.326 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002375/1.535, allocations: 1.279 MB / 1.327 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.535, allocations: 0 / 1.327 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.537, allocations: 0.8063 MB / 1.328 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.538, allocations: 339.4 kB / 1.328 GB, free: 6.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007698/1.546, allocations: 5.403 MB / 1.334 GB, free: 1.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.548, allocations: 1.792 MB / 1.335 GB, free: 15.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/1.548, allocations: 91.41 kB / 1.335 GB, free: 15.6 MB / 1.076 GB Notification: Performance of SimCode: time 2.375e-06/1.548, allocations: 0 / 1.335 GB, free: 15.6 MB / 1.076 GB Notification: Performance of Templates: time 0.06045/1.608, allocations: 41.32 MB / 1.376 GB, free: 6.293 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches