Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002239/0.002239, allocations: 213.1 kB / 22.99 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.42/3.42, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 62.84 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4017, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1889/0.5906, allocations: 138.8 MB / 1.5 GB, free: 2.289 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02887/0.6195, allocations: 19.84 MB / 1.519 GB, free: 14.4 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.6214, allocations: 71.44 kB / 1.52 GB, free: 14.33 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.6236, allocations: 1.36 MB / 1.521 GB, free: 12.96 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.6258, allocations: 1.043 MB / 1.522 GB, free: 11.92 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.6271, allocations: 426.8 kB / 1.522 GB, free: 11.5 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.6293, allocations: 1.469 MB / 1.524 GB, free: 10.02 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.6304, allocations: 0.6255 MB / 1.524 GB, free: 9.383 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.6317, allocations: 0.6698 MB / 1.525 GB, free: 8.711 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.6336, allocations: 1.183 MB / 1.526 GB, free: 7.523 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.6338, allocations: 76 kB / 1.526 GB, free: 7.449 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.6342, allocations: 132 kB / 1.526 GB, free: 7.32 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.6346, allocations: 380.4 kB / 1.527 GB, free: 6.949 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.6352, allocations: 437.1 kB / 1.527 GB, free: 6.52 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.6368, allocations: 1.404 MB / 1.529 GB, free: 5.109 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6368, allocations: 0 / 1.529 GB, free: 5.109 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6368, allocations: 0 / 1.529 GB, free: 5.109 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.6368, allocations: 0 / 1.529 GB, free: 5.109 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002845/0.6396, allocations: 1.73 MB / 1.53 GB, free: 3.34 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6397, allocations: 12.03 kB / 1.53 GB, free: 3.328 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.6399, allocations: 167.9 kB / 1.53 GB, free: 3.164 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.641, allocations: 0.6995 MB / 1.531 GB, free: 2.426 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.6412, allocations: 108.4 kB / 1.531 GB, free: 2.309 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.6413, allocations: 48 kB / 1.531 GB, free: 2.262 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6424, allocations: 0.5808 MB / 1.532 GB, free: 1.668 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.6425, allocations: 0 / 1.532 GB, free: 1.668 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.6425, allocations: 19.98 kB / 1.532 GB, free: 1.648 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6425, allocations: 12 kB / 1.532 GB, free: 1.637 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6435, allocations: 455.6 kB / 1.532 GB, free: 1.191 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.6472, allocations: 1.958 MB / 1.534 GB, free: 15.18 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.6483, allocations: 477 kB / 1.535 GB, free: 14.71 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.649, allocations: 289.9 kB / 1.535 GB, free: 14.43 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.649, allocations: 12.36 kB / 1.535 GB, free: 14.41 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006835/0.6497, allocations: 341.1 kB / 1.535 GB, free: 14.07 MB / 1.232 GB Notification: Performance of pre-optimization done (n=52): time 2.274e-06/0.6497, allocations: 0 / 1.535 GB, free: 14.07 MB / 1.232 GB Notification: Performance of matching and sorting (n=52): time 0.003394/0.6531, allocations: 1.206 MB / 1.536 GB, free: 12.85 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.6531, allocations: 59.84 kB / 1.536 GB, free: 12.78 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.6556, allocations: 2.14 MB / 1.539 GB, free: 10.62 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.6557, allocations: 37.7 kB / 1.539 GB, free: 10.58 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/0.6563, allocations: 0.6254 MB / 1.539 GB, free: 9.953 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.6565, allocations: 174.5 kB / 1.539 GB, free: 9.781 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.6566, allocations: 110.3 kB / 1.539 GB, free: 9.664 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6568, allocations: 329.9 kB / 1.54 GB, free: 9.336 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.6574, allocations: 241.2 kB / 1.54 GB, free: 9.102 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.658, allocations: 349.8 kB / 1.54 GB, free: 8.719 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.659, allocations: 0.5609 MB / 1.541 GB, free: 8.121 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.659, allocations: 0 / 1.541 GB, free: 8.121 MB / 1.232 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001865/0.6609, allocations: 0.9185 MB / 1.542 GB, free: 7.191 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6609, allocations: 10.09 kB / 1.542 GB, free: 7.184 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6609, allocations: 8 kB / 1.542 GB, free: 7.176 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.6615, allocations: 191 kB / 1.542 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.6619, allocations: 107.8 kB / 1.542 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.6657, allocations: 2.89 MB / 1.545 GB, free: 3.887 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.6662, allocations: 79.58 kB / 1.545 GB, free: 3.809 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.6663, allocations: 23.98 kB / 1.545 GB, free: 3.785 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006163/0.6669, allocations: 436.2 kB / 1.545 GB, free: 3.352 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.6671, allocations: 147.1 kB / 1.546 GB, free: 3.207 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.6688, allocations: 0.8606 MB / 1.546 GB, free: 2.332 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6688, allocations: 11.94 kB / 1.546 GB, free: 2.32 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6689, allocations: 4 kB / 1.546 GB, free: 2.316 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.6689, allocations: 3.984 kB / 1.546 GB, free: 2.312 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.6717, allocations: 1.616 MB / 1.548 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6717, allocations: 0 / 1.548 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.672, allocations: 51.91 kB / 1.548 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.6725, allocations: 204.3 kB / 1.548 GB, free: 404 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.6726, allocations: 19.98 kB / 1.548 GB, free: 384 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004812/0.6774, allocations: 4.282 MB / 1.552 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6774, allocations: 3.938 kB / 1.552 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.6796, allocations: 1.204 MB / 1.554 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.68, allocations: 170.9 kB / 1.554 GB, free: 10.49 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.6801, allocations: 15.94 kB / 1.554 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.6805, allocations: 39.95 kB / 1.554 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6806, allocations: 60.39 kB / 1.554 GB, free: 10.38 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.6807, allocations: 23.98 kB / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001867/0.6825, allocations: 1.552 MB / 1.555 GB, free: 8.805 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6825, allocations: 0 / 1.555 GB, free: 8.805 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008434/0.6834, allocations: 231.7 kB / 1.556 GB, free: 8.578 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001997/0.6854, allocations: 0.5189 MB / 1.556 GB, free: 8.266 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.6871, allocations: 0.7463 MB / 1.557 GB, free: 7.508 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6871, allocations: 0 / 1.557 GB, free: 7.508 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6881, allocations: 0.5742 MB / 1.557 GB, free: 6.906 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6892, allocations: 223.3 kB / 1.558 GB, free: 6.703 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.694, allocations: 2.932 MB / 1.561 GB, free: 3.727 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000788/0.6947, allocations: 0.6515 MB / 1.561 GB, free: 3.047 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.6949, allocations: 55.42 kB / 1.561 GB, free: 2.992 MB / 1.248 GB Notification: Performance of SimCode: time 6.91e-07/0.6949, allocations: 0 / 1.561 GB, free: 2.992 MB / 1.248 GB Notification: Performance of Templates: time 0.03164/0.7266, allocations: 21.25 MB / 1.582 GB, free: 13.76 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.094874638132751]