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.00134/0.00134, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001413/0.001413, allocations: 156.5 kB / 23.01 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.878/2.878, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 177] 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.00217/0.00217, allocations: 71.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/0.7482, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1714/0.9196, allocations: 138.8 MB / 1.322 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02605/0.9457, allocations: 19.84 MB / 1.342 GB, free: 7.195 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.9471, allocations: 71.44 kB / 1.342 GB, free: 7.125 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.949, allocations: 1.348 MB / 1.343 GB, free: 5.773 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.9507, allocations: 1.051 MB / 1.344 GB, free: 4.719 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.9517, allocations: 430.2 kB / 1.344 GB, free: 4.301 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.9533, allocations: 1.469 MB / 1.346 GB, free: 2.824 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008282/0.9541, allocations: 0.6255 MB / 1.346 GB, free: 2.184 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.9549, allocations: 0.6659 MB / 1.347 GB, free: 1.516 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.9563, allocations: 1.199 MB / 1.348 GB, free: 320 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.9565, allocations: 76 kB / 1.348 GB, free: 244 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.9567, allocations: 120 kB / 1.348 GB, free: 124 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.9571, allocations: 380.4 kB / 1.349 GB, free: 15.75 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004712/0.9576, allocations: 437.1 kB / 1.349 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.9591, allocations: 1.411 MB / 1.351 GB, free: 13.91 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9591, allocations: 0 / 1.351 GB, free: 13.91 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9591, allocations: 0 / 1.351 GB, free: 13.91 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.9591, allocations: 0 / 1.351 GB, free: 13.91 MB / 1.201 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.002763/0.9619, allocations: 1.724 MB / 1.352 GB, free: 12.14 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.9619, allocations: 8.031 kB / 1.352 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.9622, allocations: 171.9 kB / 1.352 GB, free: 11.97 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.9633, allocations: 0.7033 MB / 1.353 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.9634, allocations: 104.4 kB / 1.353 GB, free: 11.11 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.9635, allocations: 55.98 kB / 1.353 GB, free: 11.06 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.9646, allocations: 0.5653 MB / 1.354 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.9646, allocations: 4 kB / 1.354 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.9647, allocations: 23.94 kB / 1.354 GB, free: 10.45 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.9647, allocations: 12 kB / 1.354 GB, free: 10.44 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009976/0.9657, allocations: 451.6 kB / 1.354 GB, free: 10 MB / 1.201 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.003565/0.9693, allocations: 1.962 MB / 1.356 GB, free: 7.988 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.9704, allocations: 472.1 kB / 1.357 GB, free: 7.52 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.9711, allocations: 302.6 kB / 1.357 GB, free: 7.223 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.9711, allocations: 4.375 kB / 1.357 GB, free: 7.219 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/0.9718, allocations: 330 kB / 1.357 GB, free: 6.887 MB / 1.201 GB Notification: Performance of pre-optimization done (n=52): time 2.285e-06/0.9718, allocations: 0 / 1.357 GB, free: 6.887 MB / 1.201 GB Notification: Performance of matching and sorting (n=52): time 0.003323/0.9751, allocations: 1.216 MB / 1.358 GB, free: 5.656 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.9752, allocations: 59.91 kB / 1.358 GB, free: 5.586 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.9776, allocations: 2.136 MB / 1.361 GB, free: 3.434 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.9777, allocations: 41.7 kB / 1.361 GB, free: 3.387 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.9783, allocations: 0.6176 MB / 1.361 GB, free: 2.766 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.9784, allocations: 186.5 kB / 1.361 GB, free: 2.582 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.9786, allocations: 106.3 kB / 1.361 GB, free: 2.469 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9788, allocations: 333.9 kB / 1.362 GB, free: 2.137 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.9793, allocations: 241.1 kB / 1.362 GB, free: 1.902 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/0.98, allocations: 353.8 kB / 1.362 GB, free: 1.516 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9811, allocations: 0.5496 MB / 1.363 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.9811, allocations: 7.938 kB / 1.363 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001922/0.983, allocations: 0.9187 MB / 1.364 GB, free: 15.99 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9831, allocations: 4 kB / 1.364 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.9831, allocations: 7.984 kB / 1.364 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/0.9836, allocations: 186.8 kB / 1.364 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.9841, allocations: 111.9 kB / 1.364 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.988, allocations: 2.896 MB / 1.367 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.9884, allocations: 75.56 kB / 1.367 GB, free: 12.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.9885, allocations: 20 kB / 1.367 GB, free: 12.6 MB / 1.217 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.0005652/0.989, allocations: 444.2 kB / 1.367 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.9892, allocations: 147 kB / 1.368 GB, free: 12.01 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.991, allocations: 0.8645 MB / 1.368 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.991, allocations: 11.94 kB / 1.368 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.991, allocations: 0 / 1.368 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.9911, allocations: 3.984 kB / 1.368 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.9939, allocations: 1.612 MB / 1.37 GB, free: 9.457 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.9939, allocations: 0 / 1.37 GB, free: 9.457 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.9942, allocations: 55.91 kB / 1.37 GB, free: 9.402 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.9947, allocations: 201.6 kB / 1.37 GB, free: 9.199 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.9948, allocations: 8 kB / 1.37 GB, free: 9.191 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/0.9996, allocations: 4.292 MB / 1.374 GB, free: 4.703 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9996, allocations: 3.938 kB / 1.374 GB, free: 4.699 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/1.002, allocations: 1.2 MB / 1.376 GB, free: 3.473 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/1.002, allocations: 179 kB / 1.376 GB, free: 3.297 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.002, allocations: 15.94 kB / 1.376 GB, free: 3.281 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/1.003, allocations: 31.97 kB / 1.376 GB, free: 3.25 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.003, allocations: 64.55 kB / 1.376 GB, free: 3.188 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/1.003, allocations: 16 kB / 1.376 GB, free: 3.172 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001825/1.005, allocations: 1.56 MB / 1.377 GB, free: 1.613 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.005, allocations: 0 / 1.377 GB, free: 1.613 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008202/1.006, allocations: 239.6 kB / 1.378 GB, free: 1.379 MB / 1.217 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.001945/1.007, allocations: 0.5026 MB / 1.378 GB, free: 1.086 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.009, allocations: 0.754 MB / 1.379 GB, free: 324 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.009, allocations: 0 / 1.379 GB, free: 324 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.01, allocations: 0.5632 MB / 1.379 GB, free: 15.73 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.011, allocations: 228.4 kB / 1.38 GB, free: 15.52 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/1.016, allocations: 2.865 MB / 1.382 GB, free: 12.61 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/1.016, allocations: 0.6633 MB / 1.383 GB, free: 11.91 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002736/1.017, allocations: 105 kB / 1.383 GB, free: 11.81 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.017, allocations: 52.48 kB / 1.383 GB, free: 11.76 MB / 1.232 GB Notification: Performance of SimCode: time 3.11e-07/1.017, allocations: 0 / 1.383 GB, free: 11.76 MB / 1.232 GB Notification: Performance of Templates: time 0.02329/1.04, allocations: 11.86 MB / 1.395 GB, free: 116 kB / 1.232 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 -s ida -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: 234.49165216402616]