Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.0008143/0.0008143, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001289/0.001289, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9293/0.9293, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 2.231/2.231, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8898 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.297e-05, allocations: 9.344 kB / 0.8899 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1314/0.1314, allocations: 153.3 MB / 1.04 GB, free: 15.7 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.1463, allocations: 10.24 MB / 1.05 GB, free: 5.418 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.1475, allocations: 127 kB / 1.05 GB, free: 5.293 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.1512, allocations: 1.822 MB / 1.052 GB, free: 3.461 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.1532, allocations: 1.381 MB / 1.053 GB, free: 2.07 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1544, allocations: 0.7714 MB / 1.054 GB, free: 1.297 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.3857/0.5401, allocations: 3.218 MB / 1.057 GB, free: 50.13 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.5413, allocations: 0.9563 MB / 1.058 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.5436, allocations: 1.75 MB / 1.059 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.5447, allocations: 0.9326 MB / 1.06 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.5449, allocations: 123.9 kB / 1.06 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/0.5456, allocations: 430.5 kB / 1.061 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.5459, allocations: 0.4966 MB / 1.061 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005228/0.5464, allocations: 0.64 MB / 1.062 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.5481, allocations: 2.186 MB / 1.064 GB, free: 49.91 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5481, allocations: 0 / 1.064 GB, free: 49.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5481, allocations: 0.5625 kB / 1.064 GB, free: 49.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.64e-05/0.5482, allocations: 0 / 1.064 GB, free: 49.91 MB / 1.01 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.002311/0.5505, allocations: 3.018 MB / 1.067 GB, free: 48.42 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5505, allocations: 9.156 kB / 1.067 GB, free: 48.42 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008294/0.5514, allocations: 458.1 kB / 1.067 GB, free: 48.26 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.5529, allocations: 1.73 MB / 1.069 GB, free: 47.67 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.5529, allocations: 60.03 kB / 1.069 GB, free: 47.66 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.553, allocations: 82.33 kB / 1.069 GB, free: 47.66 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.5535, allocations: 0.7083 MB / 1.07 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.5535, allocations: 3.656 kB / 1.07 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.5536, allocations: 31.53 kB / 1.07 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.5536, allocations: 28.12 kB / 1.07 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.5538, allocations: 230.7 kB / 1.07 GB, free: 47.34 MB / 1.01 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.00277/0.5566, allocations: 4.141 MB / 1.074 GB, free: 45.45 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.5568, allocations: 149.5 kB / 1.074 GB, free: 45.42 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.5569, allocations: 64.48 kB / 1.075 GB, free: 45.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-05/0.5569, allocations: 29.42 kB / 1.075 GB, free: 45.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.557, allocations: 44.23 kB / 1.075 GB, free: 45.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.557, allocations: 0 / 1.075 GB, free: 45.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=31): time 0.001158/0.5581, allocations: 0.8163 MB / 1.075 GB, free: 44.99 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.5581, allocations: 58.72 kB / 1.075 GB, free: 44.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.5599, allocations: 2.521 MB / 1.078 GB, free: 44.61 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5599, allocations: 31.77 kB / 1.078 GB, free: 44.58 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/0.5606, allocations: 1.358 MB / 1.079 GB, free: 44.24 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.5607, allocations: 128.3 kB / 1.079 GB, free: 44.16 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.5608, allocations: 151.1 kB / 1.08 GB, free: 44.13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.5609, allocations: 0.5107 MB / 1.08 GB, free: 43.65 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.5609, allocations: 51.27 kB / 1.08 GB, free: 43.65 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.5611, allocations: 0.5364 MB / 1.081 GB, free: 43.05 MB / 1.01 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.0004318/0.5615, allocations: 0.7029 MB / 1.081 GB, free: 42.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5615, allocations: 5.828 kB / 1.081 GB, free: 42.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000518/0.5621, allocations: 0.6728 MB / 1.082 GB, free: 42.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5621, allocations: 7.875 kB / 1.082 GB, free: 42.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5621, allocations: 11.34 kB / 1.082 GB, free: 42.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.5622, allocations: 57.81 kB / 1.082 GB, free: 42.33 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.5624, allocations: 130.1 kB / 1.082 GB, free: 42.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006279/0.563, allocations: 2.082 MB / 1.084 GB, free: 40.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.5634, allocations: 30.83 kB / 1.084 GB, free: 40.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.5634, allocations: 27.36 kB / 1.084 GB, free: 40.41 MB / 1.01 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: 45 * 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 (74): * Single equations (assignments): 73 * 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.0002121/0.5636, allocations: 206.5 kB / 1.084 GB, free: 40.24 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.5637, allocations: 245.9 kB / 1.085 GB, free: 40.11 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.5639, allocations: 197.4 kB / 1.085 GB, free: 40.07 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5639, allocations: 5.5 kB / 1.085 GB, free: 40.07 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5639, allocations: 5.812 kB / 1.085 GB, free: 40.07 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002001/0.5641, allocations: 425.2 kB / 1.085 GB, free: 39.71 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.5658, allocations: 2.061 MB / 1.087 GB, free: 39.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5658, allocations: 5.438 kB / 1.087 GB, free: 39.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.5659, allocations: 63.69 kB / 1.087 GB, free: 39.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.779e-05/0.566, allocations: 40.69 kB / 1.087 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.566, allocations: 14.8 kB / 1.087 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005216/0.5665, allocations: 2.072 MB / 1.089 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5665, allocations: 3.906 kB / 1.089 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.5669, allocations: 0.7475 MB / 1.09 GB, free: 36.74 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.5672, allocations: 294.7 kB / 1.09 GB, free: 36.61 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.5673, allocations: 12.34 kB / 1.09 GB, free: 36.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.5675, allocations: 9.969 kB / 1.09 GB, free: 36.61 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.5676, allocations: 36.89 kB / 1.09 GB, free: 36.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.5676, allocations: 11.78 kB / 1.091 GB, free: 36.61 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009459/0.5685, allocations: 1.25 MB / 1.092 GB, free: 36.42 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.5685, allocations: 0 / 1.092 GB, free: 36.42 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006547/0.5692, allocations: 312 kB / 1.092 GB, free: 36.42 MB / 1.01 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 (28): * Single equations (assignments): 27 * 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.0001925/0.5694, allocations: 141 kB / 1.092 GB, free: 36.33 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.5698, allocations: 462.3 kB / 1.093 GB, free: 36.15 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5698, allocations: 1.125 kB / 1.093 GB, free: 36.15 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.57, allocations: 285.6 kB / 1.093 GB, free: 35.96 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5717, allocations: 0.8768 MB / 1.094 GB, free: 35.89 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.575, allocations: 3.424 MB / 1.097 GB, free: 34.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.5755, allocations: 0.6385 MB / 1.098 GB, free: 34.19 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004632/0.576, allocations: 222.7 kB / 1.098 GB, free: 34.14 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/0.5769, allocations: 0.6339 MB / 1.099 GB, free: 34.08 MB / 1.01 GB Notification: Performance of SimCode: time 8.42e-07/0.5769, allocations: 0.875 kB / 1.099 GB, free: 34.08 MB / 1.01 GB Notification: Performance of Templates: time 0.04218/0.619, allocations: 31.07 MB / 1.129 GB, free: 31.13 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.08745675906539]