Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.001379/0.001379, 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.001483/0.001483, allocations: 218.3 kB / 23.01 MB, free: 4.605 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.224/3.224, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") [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.002072/0.002072, allocations: 64.77 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1892/0.5736, allocations: 160.5 MB / 1.511 GB, free: 6.805 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02897/0.6025, allocations: 21.93 MB / 1.532 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.605, allocations: 79.38 kB / 1.532 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.6068, allocations: 1.169 MB / 1.533 GB, free: 15.55 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.6087, allocations: 0.9107 MB / 1.534 GB, free: 14.64 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.6098, allocations: 418.5 kB / 1.535 GB, free: 14.23 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.6115, allocations: 1.274 MB / 1.536 GB, free: 12.95 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007356/0.6122, allocations: 0.5508 MB / 1.537 GB, free: 12.39 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007549/0.613, allocations: 0.5802 MB / 1.537 GB, free: 11.81 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.6141, allocations: 0.9995 MB / 1.538 GB, free: 10.81 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.6142, allocations: 68 kB / 1.538 GB, free: 10.75 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.6145, allocations: 111.9 kB / 1.538 GB, free: 10.64 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.6148, allocations: 320.7 kB / 1.539 GB, free: 10.32 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.6152, allocations: 0.489 MB / 1.539 GB, free: 9.832 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.6166, allocations: 1.225 MB / 1.54 GB, free: 8.602 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6166, allocations: 0 / 1.54 GB, free: 8.602 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6166, allocations: 4 kB / 1.54 GB, free: 8.598 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.6166, allocations: 0 / 1.54 GB, free: 8.598 MB / 1.232 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.002433/0.6191, allocations: 1.505 MB / 1.542 GB, free: 7.055 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6191, allocations: 8.031 kB / 1.542 GB, free: 7.047 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.6193, allocations: 144 kB / 1.542 GB, free: 6.906 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000927/0.6202, allocations: 0.5948 MB / 1.542 GB, free: 6.273 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.6204, allocations: 104.4 kB / 1.543 GB, free: 6.16 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/0.6205, allocations: 55.92 kB / 1.543 GB, free: 6.105 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.6214, allocations: 0.5262 MB / 1.543 GB, free: 5.562 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.6215, allocations: 3.953 kB / 1.543 GB, free: 5.559 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.6215, allocations: 16 kB / 1.543 GB, free: 5.543 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.6215, allocations: 16 kB / 1.543 GB, free: 5.527 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.6223, allocations: 411.7 kB / 1.544 GB, free: 5.129 MB / 1.232 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.003704/0.626, allocations: 2.689 MB / 1.546 GB, free: 2.211 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.627, allocations: 415.6 kB / 1.547 GB, free: 1.793 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.6277, allocations: 290.3 kB / 1.547 GB, free: 1.508 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.6277, allocations: 4.328 kB / 1.547 GB, free: 1.504 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.6282, allocations: 296.4 kB / 1.547 GB, free: 1.203 MB / 1.232 GB Notification: Performance of pre-optimization done (n=44): time 1.814e-06/0.6282, allocations: 0 / 1.547 GB, free: 1.203 MB / 1.232 GB Notification: Performance of matching and sorting (n=44): time 0.002585/0.6308, allocations: 0.9976 MB / 1.548 GB, free: 196 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.6309, allocations: 55.41 kB / 1.548 GB, free: 128 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/0.6329, allocations: 1.781 MB / 1.55 GB, free: 14.33 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.6329, allocations: 37.7 kB / 1.55 GB, free: 14.29 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.6334, allocations: 0.5333 MB / 1.55 GB, free: 13.75 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.6336, allocations: 146.7 kB / 1.551 GB, free: 13.61 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.6337, allocations: 106.3 kB / 1.551 GB, free: 13.5 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6339, allocations: 326 kB / 1.551 GB, free: 13.18 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.6343, allocations: 213.2 kB / 1.551 GB, free: 12.97 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.6349, allocations: 342.2 kB / 1.552 GB, free: 12.59 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/0.6358, allocations: 0.5187 MB / 1.552 GB, free: 12.02 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.6358, allocations: 7.938 kB / 1.552 GB, free: 12.01 MB / 1.248 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00155/0.6374, allocations: 0.8118 MB / 1.553 GB, free: 11.19 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6374, allocations: 9.656 kB / 1.553 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6374, allocations: 4 kB / 1.553 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000428/0.6378, allocations: 132.7 kB / 1.553 GB, free: 11.05 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.6382, allocations: 112 kB / 1.553 GB, free: 10.94 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.6412, allocations: 2.5 MB / 1.556 GB, free: 8.332 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.6417, allocations: 79.64 kB / 1.556 GB, free: 8.254 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.6417, allocations: 24 kB / 1.556 GB, free: 8.23 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.0005892/0.6423, allocations: 387.3 kB / 1.556 GB, free: 7.844 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6425, allocations: 123.1 kB / 1.556 GB, free: 7.723 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.6438, allocations: 0.7164 MB / 1.557 GB, free: 6.992 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6438, allocations: 4 kB / 1.557 GB, free: 6.988 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6438, allocations: 8 kB / 1.557 GB, free: 6.98 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6438, allocations: 0 / 1.557 GB, free: 6.98 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.6463, allocations: 1.477 MB / 1.558 GB, free: 5.453 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6463, allocations: 0 / 1.558 GB, free: 5.453 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.6465, allocations: 43.97 kB / 1.558 GB, free: 5.41 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.6469, allocations: 169.5 kB / 1.558 GB, free: 5.238 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.6469, allocations: 8 kB / 1.558 GB, free: 5.23 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/0.651, allocations: 4.081 MB / 1.562 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.651, allocations: 4.062 kB / 1.562 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.6528, allocations: 0.9968 MB / 1.563 GB, free: 15.9 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.6531, allocations: 151.1 kB / 1.564 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.6532, allocations: 12 kB / 1.564 GB, free: 15.74 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.6535, allocations: 35.89 kB / 1.564 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6536, allocations: 55.91 kB / 1.564 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.6537, allocations: 11.98 kB / 1.564 GB, free: 15.64 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001483/0.6552, allocations: 1.301 MB / 1.565 GB, free: 14.33 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6552, allocations: 0 / 1.565 GB, free: 14.33 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007789/0.6559, allocations: 203.7 kB / 1.565 GB, free: 14.13 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.001835/0.6578, allocations: 485.3 kB / 1.566 GB, free: 13.84 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.6592, allocations: 0.6463 MB / 1.566 GB, free: 13.18 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.6592, allocations: 4 kB / 1.566 GB, free: 13.18 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.6601, allocations: 0.5212 MB / 1.567 GB, free: 12.63 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.661, allocations: 203.1 kB / 1.567 GB, free: 12.44 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.6648, allocations: 2.463 MB / 1.569 GB, free: 9.938 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/0.6656, allocations: 1.15 MB / 1.57 GB, free: 8.758 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.6658, allocations: 47.42 kB / 1.571 GB, free: 8.711 MB / 1.264 GB Notification: Performance of SimCode: time 8.22e-07/0.6658, allocations: 0 / 1.571 GB, free: 8.711 MB / 1.264 GB Notification: Performance of Templates: time 0.02856/0.6943, allocations: 18.15 MB / 1.588 GB, free: 6.574 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.535537121002562]