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.001667/0.001667, allocations: 110.2 kB / 19.69 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.001996/0.001996, allocations: 215.9 kB / 23 MB, free: 4.566 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.241/3.241, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.002058/0.002058, allocations: 75.14 kB / 1.178 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4082, allocations: 180.2 MB / 1.354 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.2253/0.6335, allocations: 160.5 MB / 1.511 GB, free: 6.93 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.05156/0.685, allocations: 21.93 MB / 1.532 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.6885, allocations: 75.38 kB / 1.532 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.692, allocations: 1.165 MB / 1.533 GB, free: 15.68 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.6958, allocations: 0.9146 MB / 1.534 GB, free: 14.77 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.6982, allocations: 414.6 kB / 1.535 GB, free: 14.36 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.7015, allocations: 1.282 MB / 1.536 GB, free: 13.07 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.7029, allocations: 0.543 MB / 1.537 GB, free: 12.52 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.7045, allocations: 0.5763 MB / 1.537 GB, free: 11.95 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.707, allocations: 1.007 MB / 1.538 GB, free: 10.94 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.7072, allocations: 68 kB / 1.538 GB, free: 10.87 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.7077, allocations: 111.9 kB / 1.538 GB, free: 10.76 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004809/0.7081, allocations: 320.7 kB / 1.539 GB, free: 10.45 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.709, allocations: 0.489 MB / 1.539 GB, free: 9.957 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.7116, allocations: 1.221 MB / 1.54 GB, free: 8.73 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.7116, allocations: 4 kB / 1.54 GB, free: 8.727 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.647e-06/0.7116, allocations: 4 kB / 1.54 GB, free: 8.723 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.7116, allocations: 0 / 1.54 GB, free: 8.723 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.004744/0.7164, allocations: 1.505 MB / 1.542 GB, free: 7.18 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.7164, allocations: 12.03 kB / 1.542 GB, free: 7.168 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.7168, allocations: 140 kB / 1.542 GB, free: 7.031 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.7185, allocations: 0.6104 MB / 1.542 GB, free: 6.383 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.7188, allocations: 96.39 kB / 1.543 GB, free: 6.277 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.719, allocations: 48 kB / 1.543 GB, free: 6.23 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.7208, allocations: 0.5224 MB / 1.543 GB, free: 5.691 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.623e-05/0.7208, allocations: 7.891 kB / 1.543 GB, free: 5.684 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.7209, allocations: 19.98 kB / 1.543 GB, free: 5.664 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.7209, allocations: 15.94 kB / 1.543 GB, free: 5.648 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.7224, allocations: 407.7 kB / 1.544 GB, free: 5.254 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.007551/0.73, allocations: 2.761 MB / 1.546 GB, free: 2.254 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.732, allocations: 435.4 kB / 1.547 GB, free: 1.82 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.733, allocations: 269.3 kB / 1.547 GB, free: 1.555 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.7331, allocations: 4.328 kB / 1.547 GB, free: 1.551 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.7341, allocations: 310.4 kB / 1.547 GB, free: 1.238 MB / 1.232 GB Notification: Performance of pre-optimization done (n=45): time 4.799e-06/0.7342, allocations: 0 / 1.547 GB, free: 1.238 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.005913/0.7401, allocations: 1.1 MB / 1.548 GB, free: 128 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.7401, allocations: 55.41 kB / 1.548 GB, free: 60 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/0.7445, allocations: 1.773 MB / 1.55 GB, free: 14.27 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.7446, allocations: 37.7 kB / 1.55 GB, free: 14.23 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/0.7455, allocations: 0.5184 MB / 1.551 GB, free: 13.71 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.7459, allocations: 154.6 kB / 1.551 GB, free: 13.56 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.7462, allocations: 106.3 kB / 1.551 GB, free: 13.45 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002899/0.7465, allocations: 326 kB / 1.551 GB, free: 13.12 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008425/0.7473, allocations: 217.2 kB / 1.551 GB, free: 12.91 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.7484, allocations: 325.8 kB / 1.552 GB, free: 12.55 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.7503, allocations: 0.5102 MB / 1.552 GB, free: 12 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.7503, allocations: 4 kB / 1.552 GB, free: 12 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003485/0.7537, allocations: 0.8557 MB / 1.553 GB, free: 11.14 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.7538, allocations: 4 kB / 1.553 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.7538, allocations: 4 kB / 1.553 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.7548, allocations: 190.7 kB / 1.553 GB, free: 10.94 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.7556, allocations: 92.31 kB / 1.553 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.7624, allocations: 2.894 MB / 1.556 GB, free: 7.848 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.7635, allocations: 75.62 kB / 1.556 GB, free: 7.773 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.7635, allocations: 20.06 kB / 1.556 GB, free: 7.754 MB / 1.248 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.001136/0.7647, allocations: 395.2 kB / 1.557 GB, free: 7.359 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.765, allocations: 127.1 kB / 1.557 GB, free: 7.234 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.768, allocations: 0.7567 MB / 1.557 GB, free: 6.461 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.7681, allocations: 4 kB / 1.557 GB, free: 6.457 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.7681, allocations: 4 kB / 1.557 GB, free: 6.453 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.7681, allocations: 3.984 kB / 1.557 GB, free: 6.449 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/0.773, allocations: 1.543 MB / 1.559 GB, free: 4.852 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.773, allocations: 4 kB / 1.559 GB, free: 4.848 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.7735, allocations: 55.89 kB / 1.559 GB, free: 4.793 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009786/0.7745, allocations: 193.5 kB / 1.559 GB, free: 4.598 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/0.7746, allocations: 8 kB / 1.559 GB, free: 4.59 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007906/0.7825, allocations: 4.127 MB / 1.563 GB, free: 248 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7825, allocations: 0 / 1.563 GB, free: 248 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.7862, allocations: 1.079 MB / 1.564 GB, free: 15.13 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.7868, allocations: 147.1 kB / 1.564 GB, free: 14.99 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.7869, allocations: 16 kB / 1.564 GB, free: 14.97 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.7874, allocations: 31.95 kB / 1.564 GB, free: 14.94 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.7877, allocations: 51.91 kB / 1.565 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.7877, allocations: 15.98 kB / 1.565 GB, free: 14.88 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002699/0.7904, allocations: 1.297 MB / 1.566 GB, free: 13.57 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7904, allocations: 4 kB / 1.566 GB, free: 13.57 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001378/0.7918, allocations: 207.7 kB / 1.566 GB, free: 13.37 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,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.00288/0.7947, allocations: 483.9 kB / 1.566 GB, free: 13.07 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002745/0.7974, allocations: 0.6955 MB / 1.567 GB, free: 12.37 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7974, allocations: 3.938 kB / 1.567 GB, free: 12.36 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.7991, allocations: 0.5367 MB / 1.568 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.8008, allocations: 205 kB / 1.568 GB, free: 11.61 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006844/0.8077, allocations: 2.481 MB / 1.57 GB, free: 9.09 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.8091, allocations: 1.153 MB / 1.571 GB, free: 7.906 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.8094, allocations: 47.42 kB / 1.571 GB, free: 7.859 MB / 1.264 GB Notification: Performance of SimCode: time 1.573e-06/0.8094, allocations: 4 kB / 1.571 GB, free: 7.855 MB / 1.264 GB Notification: Performance of Templates: time 0.0408/0.8502, allocations: 18.16 MB / 1.589 GB, free: 5.711 MB / 1.279 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.687154115992598]