Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001676/0.001676, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.002528/0.002528, allocations: 215.8 kB / 23 MB, free: 4.957 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.667/1.667, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.079/3.079, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.003374/0.003374, allocations: 65.7 kB / 1.118 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4187, allocations: 169.9 MB / 1.284 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1886/0.6073, allocations: 138.5 MB / 1.419 GB, free: 8.602 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03078/0.6381, allocations: 19.69 MB / 1.438 GB, free: 4.852 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.6404, allocations: 71.44 kB / 1.438 GB, free: 4.781 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.6426, allocations: 1.173 MB / 1.439 GB, free: 3.605 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.6448, allocations: 0.9225 MB / 1.44 GB, free: 2.68 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.6461, allocations: 382.9 kB / 1.441 GB, free: 2.305 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.6483, allocations: 1.278 MB / 1.442 GB, free: 1.02 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.6495, allocations: 0.5391 MB / 1.443 GB, free: 484 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.6507, allocations: 0.5647 MB / 1.443 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.6523, allocations: 0.9798 MB / 1.444 GB, free: 14.93 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.6526, allocations: 68 kB / 1.444 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.6529, allocations: 112 kB / 1.444 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003951/0.6533, allocations: 328.7 kB / 1.444 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.6539, allocations: 385.5 kB / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.6556, allocations: 1.229 MB / 1.446 GB, free: 12.82 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6556, allocations: 0 / 1.446 GB, free: 12.82 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6556, allocations: 0 / 1.446 GB, free: 12.82 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.809e-05/0.6557, allocations: 4 kB / 1.446 GB, free: 12.81 MB / 1.154 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.003194/0.6589, allocations: 1.505 MB / 1.448 GB, free: 11.27 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.6589, allocations: 12.03 kB / 1.448 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.6592, allocations: 144 kB / 1.448 GB, free: 11.12 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.6604, allocations: 0.6102 MB / 1.448 GB, free: 10.47 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.6605, allocations: 104.4 kB / 1.448 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.6606, allocations: 52 kB / 1.448 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.6617, allocations: 0.5145 MB / 1.449 GB, free: 9.773 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.6618, allocations: 0 / 1.449 GB, free: 9.773 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.6618, allocations: 16 kB / 1.449 GB, free: 9.758 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.6618, allocations: 12 kB / 1.449 GB, free: 9.746 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009665/0.6628, allocations: 419.7 kB / 1.449 GB, free: 9.34 MB / 1.154 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.003958/0.6668, allocations: 1.841 MB / 1.451 GB, free: 7.445 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.6679, allocations: 427.8 kB / 1.452 GB, free: 7.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.6685, allocations: 266.4 kB / 1.452 GB, free: 6.758 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.6685, allocations: 4.766 kB / 1.452 GB, free: 6.754 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006449/0.6692, allocations: 302.5 kB / 1.452 GB, free: 6.449 MB / 1.154 GB Notification: Performance of pre-optimization done (n=45): time 2.926e-06/0.6692, allocations: 0 / 1.452 GB, free: 6.449 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.003196/0.6724, allocations: 1.115 MB / 1.453 GB, free: 5.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.6724, allocations: 67.33 kB / 1.453 GB, free: 5.242 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.6749, allocations: 1.759 MB / 1.455 GB, free: 3.473 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.6749, allocations: 37.7 kB / 1.455 GB, free: 3.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.6755, allocations: 0.5181 MB / 1.456 GB, free: 2.906 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.6756, allocations: 150.8 kB / 1.456 GB, free: 2.758 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.6758, allocations: 102.3 kB / 1.456 GB, free: 2.652 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.676, allocations: 326 kB / 1.456 GB, free: 2.328 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.6765, allocations: 221.1 kB / 1.456 GB, free: 2.113 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.6771, allocations: 337.8 kB / 1.457 GB, free: 1.738 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.6782, allocations: 0.5181 MB / 1.457 GB, free: 1.184 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6782, allocations: 0 / 1.457 GB, free: 1.184 MB / 1.154 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00184/0.68, allocations: 0.8569 MB / 1.458 GB, free: 328 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.68, allocations: 4 kB / 1.458 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.6801, allocations: 4 kB / 1.458 GB, free: 320 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.6806, allocations: 183.1 kB / 1.458 GB, free: 136 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.681, allocations: 99.98 kB / 1.458 GB, free: 36 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.685, allocations: 2.841 MB / 1.461 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.6855, allocations: 67.69 kB / 1.461 GB, free: 13.03 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.6856, allocations: 20 kB / 1.461 GB, free: 13.01 MB / 1.17 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.0006385/0.6862, allocations: 387.4 kB / 1.461 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.6864, allocations: 123.1 kB / 1.462 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.6882, allocations: 0.7746 MB / 1.462 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6882, allocations: 4 kB / 1.462 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.6882, allocations: 4 kB / 1.462 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6882, allocations: 0 / 1.462 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.6911, allocations: 1.443 MB / 1.464 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6911, allocations: 0 / 1.464 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.6914, allocations: 47.91 kB / 1.464 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.6919, allocations: 193.6 kB / 1.464 GB, free: 9.973 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.692, allocations: 12 kB / 1.464 GB, free: 9.961 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005202/0.6972, allocations: 4.265 MB / 1.468 GB, free: 5.5 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6972, allocations: 4.031 kB / 1.468 GB, free: 5.496 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.6994, allocations: 1.08 MB / 1.469 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.6998, allocations: 159 kB / 1.469 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.6999, allocations: 15.98 kB / 1.469 GB, free: 4.219 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.7003, allocations: 23.97 kB / 1.469 GB, free: 4.195 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.7004, allocations: 60.33 kB / 1.469 GB, free: 4.137 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.7005, allocations: 12 kB / 1.469 GB, free: 4.125 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001783/0.7022, allocations: 1.284 MB / 1.471 GB, free: 2.832 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.7022, allocations: 0 / 1.471 GB, free: 2.832 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00089/0.7031, allocations: 215.7 kB / 1.471 GB, free: 2.621 MB / 1.17 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.002003/0.7051, allocations: 0.5005 MB / 1.471 GB, free: 2.332 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.7069, allocations: 0.7023 MB / 1.472 GB, free: 1.617 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7069, allocations: 0 / 1.472 GB, free: 1.617 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.708, allocations: 0.5501 MB / 1.473 GB, free: 1.039 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.709, allocations: 199.4 kB / 1.473 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.7137, allocations: 2.488 MB / 1.475 GB, free: 14.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008128/0.7145, allocations: 0.5544 MB / 1.476 GB, free: 13.73 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.7147, allocations: 43.44 kB / 1.476 GB, free: 13.7 MB / 1.186 GB Notification: Performance of SimCode: time 1.022e-06/0.7147, allocations: 0 / 1.476 GB, free: 13.7 MB / 1.186 GB Notification: Performance of Templates: time 0.03128/0.746, allocations: 18.51 MB / 1.494 GB, free: 11.21 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.467568485997617]