Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001372/0.001372, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001838/0.001838, allocations: 214.1 kB / 23 MB, free: 5.113 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.334/3.334, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002083/0.002083, allocations: 73.73 kB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4544, allocations: 176.1 MB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2447/0.6991, allocations: 160.5 MB / 1.484 GB, free: 208 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03539/0.7345, allocations: 21.94 MB / 1.505 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.737, allocations: 67.44 kB / 1.505 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.7392, allocations: 1.169 MB / 1.507 GB, free: 8.961 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.7411, allocations: 0.9185 MB / 1.507 GB, free: 8.039 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.7425, allocations: 402.6 kB / 1.508 GB, free: 7.645 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.7444, allocations: 1.286 MB / 1.509 GB, free: 6.352 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008072/0.7452, allocations: 0.5547 MB / 1.51 GB, free: 5.793 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.7463, allocations: 0.5724 MB / 1.51 GB, free: 5.219 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.7477, allocations: 0.9995 MB / 1.511 GB, free: 4.215 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.7478, allocations: 67.98 kB / 1.511 GB, free: 4.148 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.7481, allocations: 112 kB / 1.511 GB, free: 4.039 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.7484, allocations: 328.6 kB / 1.512 GB, free: 3.719 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.7489, allocations: 484.8 kB / 1.512 GB, free: 3.242 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.7508, allocations: 1.225 MB / 1.513 GB, free: 2.012 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7508, allocations: 0 / 1.513 GB, free: 2.012 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7508, allocations: 0 / 1.513 GB, free: 2.012 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.7508, allocations: 0 / 1.513 GB, free: 2.012 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.003035/0.7538, allocations: 1.509 MB / 1.515 GB, free: 476 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7539, allocations: 8.031 kB / 1.515 GB, free: 468 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.7541, allocations: 147.9 kB / 1.515 GB, free: 320 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.7551, allocations: 0.6183 MB / 1.516 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.7553, allocations: 100.4 kB / 1.516 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.7555, allocations: 40 kB / 1.516 GB, free: 15.5 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.7565, allocations: 0.5145 MB / 1.516 GB, free: 14.97 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.7565, allocations: 11.92 kB / 1.516 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.7565, allocations: 24 kB / 1.516 GB, free: 14.94 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.7566, allocations: 8 kB / 1.516 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008647/0.7574, allocations: 407.7 kB / 1.517 GB, free: 14.53 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.004288/0.7617, allocations: 2.768 MB / 1.519 GB, free: 11.53 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7628, allocations: 433.2 kB / 1.52 GB, free: 11.1 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.7634, allocations: 269.3 kB / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.7635, allocations: 4.328 kB / 1.52 GB, free: 10.83 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006184/0.7641, allocations: 302.5 kB / 1.52 GB, free: 10.53 MB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.7641, allocations: 4 kB / 1.52 GB, free: 10.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.00325/0.7673, allocations: 1.104 MB / 1.521 GB, free: 9.406 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.7674, allocations: 55.41 kB / 1.521 GB, free: 9.34 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.7696, allocations: 1.769 MB / 1.523 GB, free: 7.562 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.7696, allocations: 41.64 kB / 1.523 GB, free: 7.516 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005964/0.7702, allocations: 0.5262 MB / 1.524 GB, free: 6.984 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.7704, allocations: 154.7 kB / 1.524 GB, free: 6.832 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.7706, allocations: 102.3 kB / 1.524 GB, free: 6.727 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000304/0.7709, allocations: 330 kB / 1.524 GB, free: 6.398 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.7714, allocations: 213.2 kB / 1.524 GB, free: 6.188 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.772, allocations: 326.3 kB / 1.525 GB, free: 5.828 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/0.773, allocations: 0.5099 MB / 1.525 GB, free: 5.281 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.773, allocations: 0 / 1.525 GB, free: 5.281 MB / 1.217 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001891/0.7749, allocations: 0.8481 MB / 1.526 GB, free: 4.426 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7749, allocations: 15.88 kB / 1.526 GB, free: 4.41 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7749, allocations: 4 kB / 1.526 GB, free: 4.406 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.7755, allocations: 190.2 kB / 1.526 GB, free: 4.223 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.7758, allocations: 87.88 kB / 1.526 GB, free: 4.137 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.7802, allocations: 2.895 MB / 1.529 GB, free: 1.133 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.7808, allocations: 75.58 kB / 1.529 GB, free: 1.059 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.7809, allocations: 20 kB / 1.529 GB, free: 1.039 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.0006476/0.7815, allocations: 387.9 kB / 1.53 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.7817, allocations: 131.1 kB / 1.53 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.7833, allocations: 0.7607 MB / 1.53 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.7833, allocations: 4 kB / 1.531 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7833, allocations: 4 kB / 1.531 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.7833, allocations: 3.984 kB / 1.531 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.7864, allocations: 1.546 MB / 1.532 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7864, allocations: 0 / 1.532 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.7867, allocations: 47.91 kB / 1.532 GB, free: 14.08 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/0.7872, allocations: 197.5 kB / 1.532 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.7873, allocations: 15.98 kB / 1.532 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0053/0.7925, allocations: 4.128 MB / 1.536 GB, free: 9.508 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7926, allocations: 0 / 1.536 GB, free: 9.508 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.7948, allocations: 1.071 MB / 1.537 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.7951, allocations: 151.1 kB / 1.537 GB, free: 8.27 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/0.7952, allocations: 15.98 kB / 1.538 GB, free: 8.254 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.7955, allocations: 27.97 kB / 1.538 GB, free: 8.227 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.7957, allocations: 55.89 kB / 1.538 GB, free: 8.172 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.7957, allocations: 12 kB / 1.538 GB, free: 8.16 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00173/0.7974, allocations: 1.297 MB / 1.539 GB, free: 6.859 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7974, allocations: 4 kB / 1.539 GB, free: 6.855 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008238/0.7983, allocations: 207.7 kB / 1.539 GB, free: 6.652 MB / 1.232 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 (29): * Single equations (assignments): 21 * 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.00185/0.8001, allocations: 496.2 kB / 1.54 GB, free: 6.348 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.8017, allocations: 0.6838 MB / 1.54 GB, free: 5.652 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8018, allocations: 0 / 1.54 GB, free: 5.652 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00095/0.8027, allocations: 0.5405 MB / 1.541 GB, free: 5.086 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/0.8037, allocations: 209.4 kB / 1.541 GB, free: 4.895 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.8079, allocations: 2.481 MB / 1.543 GB, free: 2.375 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.8089, allocations: 1.15 MB / 1.544 GB, free: 1.195 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.809, allocations: 47.42 kB / 1.545 GB, free: 1.148 MB / 1.232 GB Notification: Performance of SimCode: time 8.52e-07/0.809, allocations: 0 / 1.545 GB, free: 1.148 MB / 1.232 GB Notification: Performance of Templates: time 0.03064/0.8397, allocations: 18.16 MB / 1.562 GB, free: 15 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.283851884014439]