Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.001852/0.001852, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.002218/0.002218, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.889/2.889, allocations: 394.2 MB / 0.6386 GB, free: 11.93 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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [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.002098/0.002098, allocations: 71.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7507, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1729/0.9236, allocations: 138.5 MB / 1.322 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02655/0.9502, allocations: 19.72 MB / 1.341 GB, free: 7.613 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.9516, allocations: 71.44 kB / 1.341 GB, free: 7.543 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.9533, allocations: 1.169 MB / 1.342 GB, free: 6.371 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.9548, allocations: 0.9146 MB / 1.343 GB, free: 5.453 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.9557, allocations: 386.9 kB / 1.344 GB, free: 5.074 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.9571, allocations: 1.282 MB / 1.345 GB, free: 3.785 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007333/0.9578, allocations: 0.543 MB / 1.345 GB, free: 3.238 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007155/0.9585, allocations: 0.5686 MB / 1.346 GB, free: 2.668 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.9598, allocations: 0.9799 MB / 1.347 GB, free: 1.684 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.9599, allocations: 64 kB / 1.347 GB, free: 1.621 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.9601, allocations: 115.9 kB / 1.347 GB, free: 1.508 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.9604, allocations: 324.7 kB / 1.347 GB, free: 1.191 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.9608, allocations: 381.5 kB / 1.348 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.9622, allocations: 1.236 MB / 1.349 GB, free: 15.58 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9622, allocations: 0 / 1.349 GB, free: 15.58 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9622, allocations: 0 / 1.349 GB, free: 15.58 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.9622, allocations: 4 kB / 1.349 GB, free: 15.57 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00246/0.9647, allocations: 1.501 MB / 1.35 GB, free: 14.04 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.9647, allocations: 8.031 kB / 1.35 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.9649, allocations: 144 kB / 1.351 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.9659, allocations: 0.6103 MB / 1.351 GB, free: 13.24 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.966, allocations: 96.39 kB / 1.351 GB, free: 13.13 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.9661, allocations: 51.98 kB / 1.351 GB, free: 13.08 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.9671, allocations: 0.5223 MB / 1.352 GB, free: 12.55 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.9671, allocations: 3.938 kB / 1.352 GB, free: 12.54 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.9672, allocations: 16 kB / 1.352 GB, free: 12.53 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.9672, allocations: 12 kB / 1.352 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009134/0.9681, allocations: 419.7 kB / 1.352 GB, free: 12.1 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.00342/0.9715, allocations: 1.853 MB / 1.354 GB, free: 10.2 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.9726, allocations: 431.4 kB / 1.354 GB, free: 9.777 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.9732, allocations: 269.3 kB / 1.355 GB, free: 9.512 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.9732, allocations: 4.328 kB / 1.355 GB, free: 9.508 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/0.9738, allocations: 290.8 kB / 1.355 GB, free: 9.215 MB / 1.201 GB Notification: Performance of pre-optimization done (n=45): time 1.983e-06/0.9738, allocations: 0 / 1.355 GB, free: 9.215 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.003162/0.977, allocations: 1.114 MB / 1.356 GB, free: 8.086 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.9771, allocations: 63.41 kB / 1.356 GB, free: 8.012 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.9791, allocations: 1.755 MB / 1.358 GB, free: 6.246 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.9791, allocations: 41.69 kB / 1.358 GB, free: 6.199 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.9796, allocations: 0.5142 MB / 1.358 GB, free: 5.68 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.9798, allocations: 158.7 kB / 1.359 GB, free: 5.523 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.9799, allocations: 94.34 kB / 1.359 GB, free: 5.426 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.9801, allocations: 326 kB / 1.359 GB, free: 5.102 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.9806, allocations: 221.2 kB / 1.359 GB, free: 4.883 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.9813, allocations: 333.8 kB / 1.359 GB, free: 4.516 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.9823, allocations: 0.5224 MB / 1.36 GB, free: 3.957 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9823, allocations: 4 kB / 1.36 GB, free: 3.953 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001773/0.9841, allocations: 0.8465 MB / 1.361 GB, free: 3.098 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.9841, allocations: 9.375 kB / 1.361 GB, free: 3.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9841, allocations: 0 / 1.361 GB, free: 3.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.9846, allocations: 187.2 kB / 1.361 GB, free: 2.906 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.985, allocations: 95.81 kB / 1.361 GB, free: 2.812 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.9889, allocations: 2.841 MB / 1.364 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.9893, allocations: 75.69 kB / 1.364 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.9893, allocations: 19.94 kB / 1.364 GB, free: 15.78 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: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.9898, allocations: 386.9 kB / 1.364 GB, free: 15.4 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.99, allocations: 123.1 kB / 1.364 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.9916, allocations: 0.7683 MB / 1.365 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.9916, allocations: 12 kB / 1.365 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.9916, allocations: 0 / 1.365 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.9916, allocations: 3.984 kB / 1.365 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.9942, allocations: 1.448 MB / 1.367 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9942, allocations: 0 / 1.367 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.9945, allocations: 51.95 kB / 1.367 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/0.995, allocations: 189.5 kB / 1.367 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.995, allocations: 15.98 kB / 1.367 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/0.9999, allocations: 4.266 MB / 1.371 GB, free: 8.262 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9999, allocations: 0 / 1.371 GB, free: 8.262 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.002, allocations: 1.082 MB / 1.372 GB, free: 7.156 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/1.002, allocations: 155.1 kB / 1.372 GB, free: 7.004 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/1.002, allocations: 12 kB / 1.372 GB, free: 6.992 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.003, allocations: 31.95 kB / 1.372 GB, free: 6.961 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.003, allocations: 56.41 kB / 1.372 GB, free: 6.906 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/1.003, allocations: 15.98 kB / 1.372 GB, free: 6.891 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001494/1.004, allocations: 1.292 MB / 1.374 GB, free: 5.594 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.004, allocations: 0 / 1.374 GB, free: 5.594 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007481/1.005, allocations: 207.7 kB / 1.374 GB, free: 5.391 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001979/1.007, allocations: 0.5093 MB / 1.374 GB, free: 5.094 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001564/1.009, allocations: 0.7075 MB / 1.375 GB, free: 4.371 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.009, allocations: 0 / 1.375 GB, free: 4.371 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000992/1.01, allocations: 0.5434 MB / 1.376 GB, free: 3.801 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/1.011, allocations: 184.9 kB / 1.376 GB, free: 3.625 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/1.014, allocations: 2.436 MB / 1.378 GB, free: 1.16 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/1.015, allocations: 0.5661 MB / 1.379 GB, free: 0.5586 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000247/1.015, allocations: 84.62 kB / 1.379 GB, free: 484 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/1.015, allocations: 44.48 kB / 1.379 GB, free: 440 kB / 1.217 GB Notification: Performance of SimCode: time 4.11e-07/1.015, allocations: 0 / 1.379 GB, free: 440 kB / 1.217 GB Notification: Performance of Templates: time 0.02117/1.037, allocations: 10.83 MB / 1.389 GB, free: 5.801 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: 135.03790049406234]