Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001965/0.001965, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002482/0.002482, allocations: 220.6 kB / 23.01 MB, free: 4.609 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.232/3.232, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.TestCase3,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.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_latest_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.002185/0.002185, allocations: 68.77 kB / 1.178 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.43, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2206/0.6506, allocations: 160.5 MB / 1.511 GB, free: 6.836 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03114/0.6817, allocations: 21.93 MB / 1.532 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.6841, allocations: 79.31 kB / 1.532 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.6862, allocations: 1.169 MB / 1.533 GB, free: 15.59 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.6885, allocations: 0.9224 MB / 1.534 GB, free: 14.66 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.69, allocations: 402.6 kB / 1.535 GB, free: 14.27 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.6922, allocations: 1.278 MB / 1.536 GB, free: 12.98 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.6934, allocations: 0.5469 MB / 1.537 GB, free: 12.43 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.6945, allocations: 0.5841 MB / 1.537 GB, free: 11.84 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.6959, allocations: 0.9995 MB / 1.538 GB, free: 10.84 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.696, allocations: 68 kB / 1.538 GB, free: 10.78 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.6963, allocations: 115.9 kB / 1.538 GB, free: 10.66 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.6966, allocations: 316.7 kB / 1.539 GB, free: 10.36 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0005897/0.6972, allocations: 0.489 MB / 1.539 GB, free: 9.863 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.6988, allocations: 1.225 MB / 1.54 GB, free: 8.633 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6989, allocations: 0 / 1.54 GB, free: 8.633 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6989, allocations: 0 / 1.54 GB, free: 8.633 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.6989, allocations: 4 kB / 1.54 GB, free: 8.629 MB / 1.233 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.002654/0.7015, allocations: 1.505 MB / 1.542 GB, free: 7.086 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.7016, allocations: 8.031 kB / 1.542 GB, free: 7.078 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.7019, allocations: 144 kB / 1.542 GB, free: 6.938 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.7031, allocations: 0.6026 MB / 1.542 GB, free: 6.297 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.7033, allocations: 96.39 kB / 1.543 GB, free: 6.191 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.7034, allocations: 55.88 kB / 1.543 GB, free: 6.137 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000999/0.7044, allocations: 0.5262 MB / 1.543 GB, free: 5.594 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.7044, allocations: 3.953 kB / 1.543 GB, free: 5.59 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.7045, allocations: 23.98 kB / 1.543 GB, free: 5.566 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.7045, allocations: 12 kB / 1.543 GB, free: 5.555 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008561/0.7053, allocations: 411.7 kB / 1.544 GB, free: 5.156 MB / 1.233 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.004069/0.7094, allocations: 2.689 MB / 1.546 GB, free: 2.238 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.7104, allocations: 424.7 kB / 1.547 GB, free: 1.812 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/0.7111, allocations: 290.3 kB / 1.547 GB, free: 1.527 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.7111, allocations: 8.312 kB / 1.547 GB, free: 1.52 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006631/0.7118, allocations: 284.4 kB / 1.547 GB, free: 1.23 MB / 1.233 GB Notification: Performance of pre-optimization done (n=44): time 3.025e-06/0.7118, allocations: 0 / 1.547 GB, free: 1.23 MB / 1.233 GB Notification: Performance of matching and sorting (n=44): time 0.002725/0.7145, allocations: 0.9937 MB / 1.548 GB, free: 228 kB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.7146, allocations: 59.39 kB / 1.548 GB, free: 156 kB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.717, allocations: 1.785 MB / 1.55 GB, free: 14.36 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.717, allocations: 37.7 kB / 1.55 GB, free: 14.32 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.7175, allocations: 0.5333 MB / 1.55 GB, free: 13.78 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.7177, allocations: 146.8 kB / 1.551 GB, free: 13.63 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7179, allocations: 102.3 kB / 1.551 GB, free: 13.53 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.718, allocations: 334 kB / 1.551 GB, free: 13.2 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.7186, allocations: 209.2 kB / 1.551 GB, free: 12.99 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.7192, allocations: 336.1 kB / 1.552 GB, free: 12.61 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.7201, allocations: 0.5184 MB / 1.552 GB, free: 12.05 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.7201, allocations: 7.938 kB / 1.552 GB, free: 12.04 MB / 1.248 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001658/0.7218, allocations: 0.8046 MB / 1.553 GB, free: 11.23 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.7218, allocations: 11.94 kB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7218, allocations: 8.219 kB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.7223, allocations: 132.7 kB / 1.553 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.7227, allocations: 107.8 kB / 1.553 GB, free: 10.97 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.726, allocations: 2.503 MB / 1.556 GB, free: 8.363 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.7266, allocations: 75.58 kB / 1.556 GB, free: 8.289 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.7266, allocations: 24.06 kB / 1.556 GB, free: 8.266 MB / 1.248 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,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 (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.0006964/0.7273, allocations: 387.3 kB / 1.556 GB, free: 7.879 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.7275, allocations: 127.1 kB / 1.556 GB, free: 7.754 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.729, allocations: 0.7164 MB / 1.557 GB, free: 7.023 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.729, allocations: 4 kB / 1.557 GB, free: 7.02 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.729, allocations: 4 kB / 1.557 GB, free: 7.016 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.729, allocations: 0 / 1.557 GB, free: 7.016 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.7316, allocations: 1.473 MB / 1.558 GB, free: 5.492 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7316, allocations: 0 / 1.558 GB, free: 5.492 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.7318, allocations: 55.89 kB / 1.558 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/0.7322, allocations: 165.5 kB / 1.558 GB, free: 5.27 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.7323, allocations: 16 kB / 1.558 GB, free: 5.254 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00445/0.7367, allocations: 4.068 MB / 1.562 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7367, allocations: 4.031 kB / 1.562 GB, free: 0.957 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.7387, allocations: 1.005 MB / 1.563 GB, free: 15.93 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.739, allocations: 151.2 kB / 1.564 GB, free: 15.78 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.7391, allocations: 12 kB / 1.564 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.7395, allocations: 35.91 kB / 1.564 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.7396, allocations: 55.89 kB / 1.564 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.7396, allocations: 15.98 kB / 1.564 GB, free: 15.66 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001651/0.7413, allocations: 1.305 MB / 1.565 GB, free: 14.35 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7413, allocations: 0 / 1.565 GB, free: 14.35 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008424/0.7421, allocations: 203.7 kB / 1.565 GB, free: 14.15 MB / 1.264 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,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.001866/0.744, allocations: 479.4 kB / 1.566 GB, free: 13.86 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.7455, allocations: 0.6466 MB / 1.566 GB, free: 13.2 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.7455, allocations: 4 kB / 1.566 GB, free: 13.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.7465, allocations: 0.517 MB / 1.567 GB, free: 12.66 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.7476, allocations: 202.3 kB / 1.567 GB, free: 12.47 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.7516, allocations: 2.454 MB / 1.569 GB, free: 9.973 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/0.7525, allocations: 1.15 MB / 1.57 GB, free: 8.793 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.7527, allocations: 51.42 kB / 1.571 GB, free: 8.742 MB / 1.264 GB Notification: Performance of SimCode: time 7.01e-07/0.7527, allocations: 0 / 1.571 GB, free: 8.742 MB / 1.264 GB Notification: Performance of Templates: time 0.0287/0.7814, allocations: 18.15 MB / 1.588 GB, free: 6.605 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.762374963000184]