Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001753/0.001753, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001493/0.001493, allocations: 216.8 kB / 22.99 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.424/3.424, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] 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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") [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.002118/0.002118, allocations: 66.64 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.441, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1968/0.6378, allocations: 138.5 MB / 1.5 GB, free: 2.582 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03278/0.6705, allocations: 19.72 MB / 1.519 GB, free: 14.81 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.6739, allocations: 67.44 kB / 1.519 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.6764, allocations: 1.173 MB / 1.52 GB, free: 13.57 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.679, allocations: 0.9146 MB / 1.521 GB, free: 12.65 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.6804, allocations: 386.9 kB / 1.522 GB, free: 12.27 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.6826, allocations: 1.278 MB / 1.523 GB, free: 10.99 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.6837, allocations: 0.543 MB / 1.523 GB, free: 10.44 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.6849, allocations: 0.5763 MB / 1.524 GB, free: 9.863 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.6866, allocations: 0.976 MB / 1.525 GB, free: 8.883 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.6867, allocations: 72 kB / 1.525 GB, free: 8.812 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.687, allocations: 108 kB / 1.525 GB, free: 8.707 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.6873, allocations: 328.7 kB / 1.525 GB, free: 8.387 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.6878, allocations: 377.6 kB / 1.526 GB, free: 8.016 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.6892, allocations: 1.241 MB / 1.527 GB, free: 6.77 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6892, allocations: 0 / 1.527 GB, free: 6.77 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6892, allocations: 0 / 1.527 GB, free: 6.77 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.6892, allocations: 3.938 kB / 1.527 GB, free: 6.766 MB / 1.217 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.00255/0.6918, allocations: 1.505 MB / 1.528 GB, free: 5.223 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6918, allocations: 8.031 kB / 1.528 GB, free: 5.215 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.692, allocations: 140 kB / 1.529 GB, free: 5.078 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.693, allocations: 0.6103 MB / 1.529 GB, free: 4.426 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.6932, allocations: 100.4 kB / 1.529 GB, free: 4.316 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.6932, allocations: 40 kB / 1.529 GB, free: 4.277 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.6943, allocations: 0.5301 MB / 1.53 GB, free: 3.738 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.6943, allocations: 0 / 1.53 GB, free: 3.738 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.6943, allocations: 19.98 kB / 1.53 GB, free: 3.719 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.6943, allocations: 15.94 kB / 1.53 GB, free: 3.703 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/0.6952, allocations: 411.7 kB / 1.53 GB, free: 3.297 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.003368/0.6986, allocations: 1.841 MB / 1.532 GB, free: 1.41 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.6996, allocations: 438.9 kB / 1.532 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.7002, allocations: 265.3 kB / 1.533 GB, free: 0.7148 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.7002, allocations: 8.312 kB / 1.533 GB, free: 0.707 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005851/0.7008, allocations: 294.8 kB / 1.533 GB, free: 420 kB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 2.545e-06/0.7008, allocations: 0 / 1.533 GB, free: 420 kB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003006/0.7038, allocations: 1.106 MB / 1.534 GB, free: 15.29 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.7039, allocations: 63.39 kB / 1.534 GB, free: 15.21 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.7059, allocations: 1.763 MB / 1.536 GB, free: 13.44 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.706, allocations: 37.7 kB / 1.536 GB, free: 13.4 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/0.7065, allocations: 0.5181 MB / 1.536 GB, free: 12.88 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.7066, allocations: 150.8 kB / 1.537 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.7068, allocations: 106.3 kB / 1.537 GB, free: 12.62 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7069, allocations: 322 kB / 1.537 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.7074, allocations: 221.2 kB / 1.537 GB, free: 12.08 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.708, allocations: 329.8 kB / 1.537 GB, free: 11.71 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.709, allocations: 0.5255 MB / 1.538 GB, free: 11.15 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.709, allocations: 0 / 1.538 GB, free: 11.15 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001745/0.7107, allocations: 0.8562 MB / 1.539 GB, free: 10.29 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7108, allocations: 8 kB / 1.539 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7108, allocations: 4 kB / 1.539 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.7113, allocations: 172.8 kB / 1.539 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.7117, allocations: 100.4 kB / 1.539 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.7154, allocations: 2.837 MB / 1.542 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.7159, allocations: 67.7 kB / 1.542 GB, free: 7.008 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.7159, allocations: 16 kB / 1.542 GB, free: 6.992 MB / 1.232 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.0006005/0.7165, allocations: 397.5 kB / 1.542 GB, free: 6.598 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.7167, allocations: 127.1 kB / 1.542 GB, free: 6.473 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.7183, allocations: 0.7668 MB / 1.543 GB, free: 5.684 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.7183, allocations: 11.94 kB / 1.543 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7183, allocations: 0 / 1.543 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.7183, allocations: 3.984 kB / 1.543 GB, free: 5.668 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.7209, allocations: 1.451 MB / 1.545 GB, free: 4.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7209, allocations: 0 / 1.545 GB, free: 4.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.7211, allocations: 47.91 kB / 1.545 GB, free: 4.133 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/0.7216, allocations: 196 kB / 1.545 GB, free: 3.938 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.7216, allocations: 12 kB / 1.545 GB, free: 3.926 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004747/0.7264, allocations: 4.268 MB / 1.549 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7264, allocations: 0 / 1.549 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.7284, allocations: 1.08 MB / 1.55 GB, free: 14.35 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.7287, allocations: 155 kB / 1.55 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.7288, allocations: 16 kB / 1.55 GB, free: 14.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.7292, allocations: 27.97 kB / 1.55 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.7293, allocations: 56.33 kB / 1.55 GB, free: 14.1 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.7293, allocations: 16 kB / 1.55 GB, free: 14.08 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001579/0.7309, allocations: 1.284 MB / 1.552 GB, free: 12.79 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7309, allocations: 0 / 1.552 GB, free: 12.79 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008289/0.7318, allocations: 207.7 kB / 1.552 GB, free: 12.59 MB / 1.248 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.002002/0.7338, allocations: 0.5048 MB / 1.552 GB, free: 12.3 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.7354, allocations: 0.6988 MB / 1.553 GB, free: 11.58 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.7354, allocations: 8.125 kB / 1.553 GB, free: 11.57 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009426/0.7364, allocations: 0.5464 MB / 1.554 GB, free: 11 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009752/0.7373, allocations: 195.9 kB / 1.554 GB, free: 10.82 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.7414, allocations: 2.478 MB / 1.556 GB, free: 8.305 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.7421, allocations: 0.5544 MB / 1.557 GB, free: 7.719 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.7422, allocations: 47.42 kB / 1.557 GB, free: 7.672 MB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/0.7422, allocations: 0 / 1.557 GB, free: 7.672 MB / 1.248 GB Notification: Performance of Templates: time 0.02806/0.7703, allocations: 18.5 MB / 1.575 GB, free: 5.191 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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: 14.900812224950641]