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.0008853/0.0008853, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0008871/0.0008871, allocations: 169 kB / 23.03 MB, free: 1.539 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.9141/0.9141, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 1.997/1.997, allocations: 429.5 MB / 0.6732 GB, free: 3.996 MB / 0.6355 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.603e-06/1.603e-06, allocations: 0 / 0.8783 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.472e-05, allocations: 4.844 kB / 0.8783 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1222/0.1222, allocations: 156.4 MB / 1.031 GB, free: 9.188 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.1335, allocations: 10.38 MB / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.1349, allocations: 127 kB / 1.041 GB, free: 14.65 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.1382, allocations: 1.806 MB / 1.043 GB, free: 12.84 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.1404, allocations: 1.374 MB / 1.044 GB, free: 11.45 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1415, allocations: 0.7714 MB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.1439, allocations: 3.238 MB / 1.048 GB, free: 7.438 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.1448, allocations: 0.9676 MB / 1.049 GB, free: 6.441 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.1467, allocations: 1.749 MB / 1.051 GB, free: 4.719 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008928/0.1476, allocations: 0.9231 MB / 1.052 GB, free: 3.793 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.1478, allocations: 124 kB / 1.052 GB, free: 3.672 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.1483, allocations: 431 kB / 1.052 GB, free: 3.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.1487, allocations: 0.4979 MB / 1.053 GB, free: 2.75 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.1492, allocations: 0.6389 MB / 1.054 GB, free: 2.109 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.382/0.5312, allocations: 2.194 MB / 1.056 GB, free: 54.68 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5312, allocations: 2.531 kB / 1.056 GB, free: 54.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5312, allocations: 0 / 1.056 GB, free: 54.68 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001071/0.5313, allocations: 0 / 1.056 GB, free: 54.68 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.002551/0.5339, allocations: 3.016 MB / 1.059 GB, free: 53.29 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5339, allocations: 8.406 kB / 1.059 GB, free: 53.29 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.5347, allocations: 454 kB / 1.059 GB, free: 53.12 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5363, allocations: 1.783 MB / 1.061 GB, free: 52.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.5364, allocations: 61.78 kB / 1.061 GB, free: 52.54 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.5364, allocations: 85.36 kB / 1.061 GB, free: 52.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.5371, allocations: 0.7425 MB / 1.062 GB, free: 52.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5371, allocations: 2.844 kB / 1.062 GB, free: 52.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.5372, allocations: 35.22 kB / 1.062 GB, free: 52.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.5372, allocations: 24.22 kB / 1.062 GB, free: 52.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.5376, allocations: 285.5 kB / 1.062 GB, free: 52.21 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.002808/0.5404, allocations: 4.122 MB / 1.066 GB, free: 50.33 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.5406, allocations: 168.8 kB / 1.066 GB, free: 50.29 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.5407, allocations: 80 kB / 1.066 GB, free: 50.28 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-05/0.5408, allocations: 27.28 kB / 1.066 GB, free: 50.28 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.5408, allocations: 40.23 kB / 1.066 GB, free: 50.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.5409, allocations: 0 / 1.066 GB, free: 50.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=31): time 0.001446/0.5423, allocations: 1.206 MB / 1.067 GB, free: 49.61 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.5423, allocations: 54.34 kB / 1.068 GB, free: 49.54 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.5443, allocations: 2.561 MB / 1.07 GB, free: 49.23 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.5443, allocations: 31.95 kB / 1.07 GB, free: 49.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.545, allocations: 1.343 MB / 1.071 GB, free: 48.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.545, allocations: 125.2 kB / 1.072 GB, free: 48.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.5451, allocations: 148.7 kB / 1.072 GB, free: 48.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.5452, allocations: 0.5107 MB / 1.072 GB, free: 48.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.5453, allocations: 69.3 kB / 1.072 GB, free: 48.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.5455, allocations: 0.5467 MB / 1.073 GB, free: 47.67 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.0005656/0.5461, allocations: 0.7364 MB / 1.073 GB, free: 47.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5461, allocations: 5.562 kB / 1.073 GB, free: 47.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006805/0.5467, allocations: 0.7183 MB / 1.074 GB, free: 46.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5468, allocations: 8.656 kB / 1.074 GB, free: 46.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5468, allocations: 12.25 kB / 1.074 GB, free: 46.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.5469, allocations: 49.06 kB / 1.074 GB, free: 46.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.5472, allocations: 135.5 kB / 1.074 GB, free: 46.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006861/0.5479, allocations: 2.119 MB / 1.076 GB, free: 45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.5482, allocations: 34.36 kB / 1.076 GB, free: 44.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.5483, allocations: 34.12 kB / 1.077 GB, free: 44.99 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.0002217/0.5485, allocations: 208 kB / 1.077 GB, free: 44.83 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.5486, allocations: 237.8 kB / 1.077 GB, free: 44.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.5488, allocations: 197.2 kB / 1.077 GB, free: 44.68 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.5488, allocations: 6.969 kB / 1.077 GB, free: 44.67 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5488, allocations: 3.344 kB / 1.077 GB, free: 44.67 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002585/0.549, allocations: 450.2 kB / 1.078 GB, free: 44.31 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.5508, allocations: 2.056 MB / 1.08 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5508, allocations: 3.062 kB / 1.08 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.5509, allocations: 59.22 kB / 1.08 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.201e-05/0.551, allocations: 42.17 kB / 1.08 GB, free: 43.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.551, allocations: 9.188 kB / 1.08 GB, free: 43.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005647/0.5516, allocations: 2.115 MB / 1.082 GB, free: 41.83 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5516, allocations: 3.781 kB / 1.082 GB, free: 41.83 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.5521, allocations: 0.7654 MB / 1.082 GB, free: 41.33 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.5524, allocations: 308.9 kB / 1.083 GB, free: 41.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.5525, allocations: 9.562 kB / 1.083 GB, free: 41.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.5528, allocations: 21.45 kB / 1.083 GB, free: 41.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.5528, allocations: 28.38 kB / 1.083 GB, free: 41.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.5528, allocations: 17.28 kB / 1.083 GB, free: 41.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001122/0.554, allocations: 1.339 MB / 1.084 GB, free: 41 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.554, allocations: 0 / 1.084 GB, free: 41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005997/0.5546, allocations: 306 kB / 1.084 GB, free: 41 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.0001937/0.5548, allocations: 144.4 kB / 1.085 GB, free: 40.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.5552, allocations: 495.6 kB / 1.085 GB, free: 40.72 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5552, allocations: 3.438 kB / 1.085 GB, free: 40.72 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.5554, allocations: 288.2 kB / 1.085 GB, free: 40.54 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.5571, allocations: 0.856 MB / 1.086 GB, free: 40.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.5603, allocations: 3.434 MB / 1.09 GB, free: 38.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.5607, allocations: 0.6366 MB / 1.09 GB, free: 38.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005172/0.5612, allocations: 277.9 kB / 1.09 GB, free: 38.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.5614, allocations: 98.66 kB / 1.091 GB, free: 38.71 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.5614, allocations: 0.9062 kB / 1.091 GB, free: 38.71 MB / 1.01 GB Notification: Performance of Templates: time 0.0368/0.5982, allocations: 30.52 MB / 1.12 GB, free: 35.59 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.002119769807905]