Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001796/0.001796, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002106/0.002106, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.573/1.573, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.037/3.037, allocations: 0.49 GB / 0.7923 GB, free: 1.281 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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") [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.00206/0.00206, allocations: 67.89 kB / 1.15 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28/1.283, allocations: 176.1 MB / 1.322 GB, free: 7.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2778/1.56, allocations: 160.3 MB / 1.478 GB, free: 5.23 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.05437/1.615, allocations: 21.88 MB / 1.5 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/1.618, allocations: 67.44 kB / 1.5 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/1.622, allocations: 1.169 MB / 1.501 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003748/1.625, allocations: 0.9185 MB / 1.502 GB, free: 13.13 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/1.628, allocations: 374.9 kB / 1.502 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003347/1.631, allocations: 1.278 MB / 1.504 GB, free: 11.48 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.632, allocations: 0.5621 MB / 1.504 GB, free: 10.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/1.634, allocations: 0.5762 MB / 1.505 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/1.636, allocations: 1.003 MB / 1.506 GB, free: 9.328 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/1.637, allocations: 68 kB / 1.506 GB, free: 9.262 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/1.637, allocations: 112 kB / 1.506 GB, free: 9.152 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005109/1.638, allocations: 332.6 kB / 1.506 GB, free: 8.828 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008078/1.638, allocations: 496.8 kB / 1.507 GB, free: 8.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/1.641, allocations: 1.212 MB / 1.508 GB, free: 7.125 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.641, allocations: 0 / 1.508 GB, free: 7.125 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.515e-06/1.641, allocations: 0 / 1.508 GB, free: 7.125 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.047e-05/1.641, allocations: 0 / 1.508 GB, free: 7.125 MB / 1.186 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.004632/1.646, allocations: 1.54 MB / 1.509 GB, free: 5.527 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.646, allocations: 11.98 kB / 1.509 GB, free: 5.516 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/1.646, allocations: 151.9 kB / 1.509 GB, free: 5.367 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.648, allocations: 0.6836 MB / 1.51 GB, free: 4.633 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/1.648, allocations: 74.69 kB / 1.51 GB, free: 4.555 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.648, allocations: 51.98 kB / 1.51 GB, free: 4.504 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.65, allocations: 0.5184 MB / 1.511 GB, free: 3.977 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/1.65, allocations: 3.938 kB / 1.511 GB, free: 3.973 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/1.65, allocations: 19.98 kB / 1.511 GB, free: 3.953 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/1.65, allocations: 8 kB / 1.511 GB, free: 3.945 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/1.652, allocations: 415.7 kB / 1.511 GB, free: 3.535 MB / 1.186 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.007034/1.659, allocations: 2.732 MB / 1.514 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/1.661, allocations: 422.4 kB / 1.514 GB, free: 152 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/1.662, allocations: 293.2 kB / 1.515 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/1.662, allocations: 4.328 kB / 1.515 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.663, allocations: 275.8 kB / 1.515 GB, free: 15.57 MB / 1.201 GB Notification: Performance of pre-optimization done (n=44): time 4.679e-06/1.663, allocations: 192 / 1.515 GB, free: 15.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=44): time 0.005041/1.668, allocations: 1.157 MB / 1.516 GB, free: 14.37 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/1.668, allocations: 59.41 kB / 1.516 GB, free: 14.3 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/1.672, allocations: 1.781 MB / 1.518 GB, free: 12.51 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.672, allocations: 37.7 kB / 1.518 GB, free: 12.46 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008791/1.673, allocations: 0.5294 MB / 1.518 GB, free: 11.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/1.674, allocations: 146.8 kB / 1.518 GB, free: 11.79 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/1.674, allocations: 110.2 kB / 1.519 GB, free: 11.68 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002491/1.674, allocations: 322 kB / 1.519 GB, free: 11.36 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009607/1.675, allocations: 217 kB / 1.519 GB, free: 11.14 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/1.676, allocations: 335.1 kB / 1.519 GB, free: 10.77 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/1.678, allocations: 0.5081 MB / 1.52 GB, free: 10.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/1.678, allocations: 7.938 kB / 1.52 GB, free: 10.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0033/1.681, allocations: 0.8173 MB / 1.521 GB, free: 9.379 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/1.681, allocations: 8 kB / 1.521 GB, free: 9.371 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.681, allocations: 4 kB / 1.521 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/1.682, allocations: 131.2 kB / 1.521 GB, free: 9.238 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/1.683, allocations: 108 kB / 1.521 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/1.688, allocations: 2.596 MB / 1.523 GB, free: 6.398 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.69, allocations: 91.62 kB / 1.524 GB, free: 6.309 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/1.69, allocations: 20 kB / 1.524 GB, free: 6.289 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001073/1.691, allocations: 383.3 kB / 1.524 GB, free: 5.906 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/1.691, allocations: 131.1 kB / 1.524 GB, free: 5.777 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/1.691, allocations: 140 kB / 1.524 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.691, allocations: 8 kB / 1.524 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.691, allocations: 4 kB / 1.524 GB, free: 5.621 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.691, allocations: 3.938 kB / 1.524 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/1.696, allocations: 1.497 MB / 1.526 GB, free: 4.062 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.696, allocations: 0 / 1.526 GB, free: 4.062 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/1.696, allocations: 47.95 kB / 1.526 GB, free: 4.016 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007821/1.697, allocations: 167.3 kB / 1.526 GB, free: 3.848 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-05/1.697, allocations: 15.98 kB / 1.526 GB, free: 3.832 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006923/1.704, allocations: 4.014 MB / 1.53 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.704, allocations: 4.031 kB / 1.53 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/1.708, allocations: 0.9902 MB / 1.531 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/1.708, allocations: 224.2 kB / 1.531 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.708, allocations: 19.98 kB / 1.531 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/1.709, allocations: 27.97 kB / 1.531 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/1.709, allocations: 55.86 kB / 1.531 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/1.709, allocations: 15.94 kB / 1.531 GB, free: 14.17 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002912/1.712, allocations: 1.305 MB / 1.532 GB, free: 12.86 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.2e-07/1.712, allocations: 0 / 1.532 GB, free: 12.86 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001491/1.714, allocations: 191.8 kB / 1.533 GB, free: 12.68 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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 (28): * Single equations (assignments): 20 * 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,12,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.002949/1.717, allocations: 482.7 kB / 1.533 GB, free: 12.39 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002725/1.719, allocations: 0.6433 MB / 1.534 GB, free: 11.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.719, allocations: 0 / 1.534 GB, free: 11.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.721, allocations: 0.5126 MB / 1.534 GB, free: 11.19 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/1.723, allocations: 209.4 kB / 1.534 GB, free: 11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/1.73, allocations: 2.474 MB / 1.537 GB, free: 8.484 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/1.732, allocations: 1.153 MB / 1.538 GB, free: 7.301 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/1.732, allocations: 51.42 kB / 1.538 GB, free: 7.25 MB / 1.217 GB Notification: Performance of SimCode: time 1.834e-06/1.732, allocations: 0 / 1.538 GB, free: 7.25 MB / 1.217 GB Notification: Performance of Templates: time 0.03217/1.764, allocations: 18.1 MB / 1.556 GB, free: 5.176 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.82734520600934]