Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 193.3 kB / 22.23 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.714/2.714, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 62.42 kB / 1.11 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3105, allocations: 168.8 MB / 1.274 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2109/0.5214, allocations: 180.1 MB / 1.45 GB, free: 6.047 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.5389, allocations: 11.04 MB / 1.461 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.5417, allocations: 127 kB / 1.461 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005818/0.5475, allocations: 2.056 MB / 1.463 GB, free: 8.789 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.5523, allocations: 1.695 MB / 1.465 GB, free: 7.086 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.5548, allocations: 0.8309 MB / 1.466 GB, free: 6.258 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004902/0.5597, allocations: 3.188 MB / 1.469 GB, free: 3.055 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.5611, allocations: 0.825 MB / 1.47 GB, free: 2.195 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.5631, allocations: 1.182 MB / 1.471 GB, free: 1.008 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.5656, allocations: 1.152 MB / 1.472 GB, free: 15.86 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.5658, allocations: 128 kB / 1.472 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.568, allocations: 0.9861 MB / 1.473 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.5686, allocations: 497.9 kB / 1.473 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.57, allocations: 1.092 MB / 1.475 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.5749, allocations: 3.494 MB / 1.478 GB, free: 9.648 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5749, allocations: 4 kB / 1.478 GB, free: 9.645 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5749, allocations: 0 / 1.478 GB, free: 9.645 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.289e-05/0.575, allocations: 0 / 1.478 GB, free: 9.645 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004447/0.5794, allocations: 2.823 MB / 1.481 GB, free: 6.773 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5795, allocations: 8.031 kB / 1.481 GB, free: 6.766 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.5809, allocations: 386 kB / 1.481 GB, free: 6.387 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.5844, allocations: 1.94 MB / 1.483 GB, free: 4.395 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.5844, allocations: 54 kB / 1.483 GB, free: 4.34 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.5846, allocations: 76 kB / 1.483 GB, free: 4.266 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5861, allocations: 0.9445 MB / 1.484 GB, free: 3.281 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.5861, allocations: 7.938 kB / 1.484 GB, free: 3.273 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.5862, allocations: 32 kB / 1.484 GB, free: 3.242 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.5863, allocations: 32.92 kB / 1.484 GB, free: 3.211 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.5874, allocations: 0.7024 MB / 1.485 GB, free: 2.508 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.006335/0.5938, allocations: 4.407 MB / 1.489 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.5943, allocations: 298.6 kB / 1.489 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.5946, allocations: 168.8 kB / 1.49 GB, free: 13.42 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.5947, allocations: 27.98 kB / 1.49 GB, free: 13.39 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.5948, allocations: 38.56 kB / 1.49 GB, free: 13.34 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.5948, allocations: 0 / 1.49 GB, free: 13.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=32): time 0.003292/0.5981, allocations: 1.588 MB / 1.491 GB, free: 11.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.5981, allocations: 55.41 kB / 1.491 GB, free: 11.64 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/0.6022, allocations: 2.945 MB / 1.494 GB, free: 8.684 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.6023, allocations: 37.7 kB / 1.494 GB, free: 8.641 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.6034, allocations: 1.075 MB / 1.495 GB, free: 7.559 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6035, allocations: 123 kB / 1.495 GB, free: 7.438 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.6037, allocations: 106.2 kB / 1.495 GB, free: 7.328 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6039, allocations: 322 kB / 1.496 GB, free: 7.008 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.6042, allocations: 165 kB / 1.496 GB, free: 6.848 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.6046, allocations: 370.4 kB / 1.496 GB, free: 6.398 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.6069, allocations: 1.002 MB / 1.497 GB, free: 5.312 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6069, allocations: 3.938 kB / 1.497 GB, free: 5.309 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001386/0.6083, allocations: 0.81 MB / 1.498 GB, free: 4.488 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6083, allocations: 12 kB / 1.498 GB, free: 4.477 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6083, allocations: 8 kB / 1.498 GB, free: 4.469 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.6086, allocations: 64.81 kB / 1.498 GB, free: 4.402 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.6089, allocations: 99.84 kB / 1.498 GB, free: 4.305 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.6108, allocations: 1.765 MB / 1.5 GB, free: 2.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009027/0.6117, allocations: 22.44 kB / 1.5 GB, free: 2.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.6118, allocations: 35.98 kB / 1.5 GB, free: 2.375 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001248/0.613, allocations: 0.7925 MB / 1.501 GB, free: 1.574 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.6133, allocations: 246.4 kB / 1.501 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.6137, allocations: 255.6 kB / 1.501 GB, free: 1.082 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6137, allocations: 4 kB / 1.501 GB, free: 1.078 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6137, allocations: 0 / 1.501 GB, free: 1.078 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008093/0.6145, allocations: 0.6125 MB / 1.502 GB, free: 404 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.6177, allocations: 2.016 MB / 1.504 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6177, allocations: 4 kB / 1.504 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.618, allocations: 63.91 kB / 1.504 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.6182, allocations: 65.3 kB / 1.504 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.6182, allocations: 12 kB / 1.504 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.62, allocations: 1.765 MB / 1.506 GB, free: 12.25 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.62, allocations: 4.031 kB / 1.506 GB, free: 12.25 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.6213, allocations: 0.9359 MB / 1.507 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/0.622, allocations: 347.4 kB / 1.507 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.6222, allocations: 12 kB / 1.507 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.6228, allocations: 15.98 kB / 1.507 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.6228, allocations: 27.89 kB / 1.507 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.6228, allocations: 20.06 kB / 1.507 GB, free: 10.83 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003066/0.6259, allocations: 2.087 MB / 1.509 GB, free: 8.742 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6259, allocations: 0 / 1.509 GB, free: 8.742 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009964/0.6269, allocations: 299.9 kB / 1.509 GB, free: 8.449 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004175/0.6273, allocations: 161.2 kB / 1.509 GB, free: 8.293 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009636/0.6283, allocations: 0.5114 MB / 1.51 GB, free: 7.77 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6283, allocations: 0 / 1.51 GB, free: 7.77 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.6287, allocations: 299 kB / 1.51 GB, free: 7.465 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/0.632, allocations: 0.9634 MB / 1.511 GB, free: 6.527 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/0.6384, allocations: 4.204 MB / 1.515 GB, free: 2.238 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.6402, allocations: 1.965 MB / 1.517 GB, free: 244 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001108/0.6413, allocations: 338.9 kB / 1.517 GB, free: 15.9 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.6416, allocations: 103.4 kB / 1.518 GB, free: 15.8 MB / 1.232 GB Notification: Performance of SimCode: time 7.82e-07/0.6416, allocations: 0 / 1.518 GB, free: 15.8 MB / 1.232 GB Notification: Performance of Templates: time 0.05824/0.6998, allocations: 30.43 MB / 1.547 GB, free: 1.812 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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: 9.189074732363224]