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.0009648/0.0009648, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009537/0.0009537, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9014/0.9014, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.052/2.052, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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.383e-06/1.383e-06, allocations: 0 / 0.8795 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.46e-05, allocations: 2.938 kB / 0.8795 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1233/0.1234, allocations: 153.3 MB / 1.029 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.1346, allocations: 10.26 MB / 1.039 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.1362, allocations: 127 kB / 1.039 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003228/0.1395, allocations: 1.799 MB / 1.041 GB, free: 15.82 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.1416, allocations: 1.397 MB / 1.043 GB, free: 14.41 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1428, allocations: 0.7636 MB / 1.043 GB, free: 13.64 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002624/0.1454, allocations: 3.238 MB / 1.046 GB, free: 10.4 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008835/0.1463, allocations: 0.9714 MB / 1.047 GB, free: 9.402 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.1482, allocations: 1.744 MB / 1.049 GB, free: 7.684 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008416/0.149, allocations: 0.927 MB / 1.05 GB, free: 6.754 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1492, allocations: 128 kB / 1.05 GB, free: 6.629 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.1498, allocations: 435 kB / 1.051 GB, free: 6.203 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.1501, allocations: 0.4941 MB / 1.051 GB, free: 5.707 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007294/0.1508, allocations: 0.6427 MB / 1.052 GB, free: 5.062 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.1526, allocations: 2.179 MB / 1.054 GB, free: 2.875 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1526, allocations: 0 / 1.054 GB, free: 2.875 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.103e-06/0.1526, allocations: 0 / 1.054 GB, free: 2.875 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.1526, allocations: 0 / 1.054 GB, free: 2.875 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.384/0.5366, allocations: 3.011 MB / 1.057 GB, free: 74.42 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5366, allocations: 8.25 kB / 1.057 GB, free: 74.42 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009861/0.5376, allocations: 458.1 kB / 1.057 GB, free: 74.29 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.5395, allocations: 1.734 MB / 1.059 GB, free: 73.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.5396, allocations: 58.22 kB / 1.059 GB, free: 73.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.5396, allocations: 79.09 kB / 1.059 GB, free: 73.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.5402, allocations: 0.6989 MB / 1.06 GB, free: 73.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5403, allocations: 1.406 kB / 1.06 GB, free: 73.47 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.5403, allocations: 33.22 kB / 1.06 GB, free: 73.47 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.5403, allocations: 32.17 kB / 1.06 GB, free: 73.47 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.5406, allocations: 230.3 kB / 1.06 GB, free: 73.46 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.002969/0.5436, allocations: 4.15 MB / 1.064 GB, free: 71.61 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.5438, allocations: 145.5 kB / 1.064 GB, free: 71.58 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.5438, allocations: 65.22 kB / 1.064 GB, free: 71.57 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.811e-05/0.5439, allocations: 25.56 kB / 1.064 GB, free: 71.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.544, allocations: 44.11 kB / 1.064 GB, free: 71.52 MB / 1.01 GB Notification: Performance of pre-optimization done (n=29): time 2.866e-06/0.544, allocations: 1.734 kB / 1.064 GB, free: 71.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=31): time 0.001278/0.5452, allocations: 0.8167 MB / 1.065 GB, free: 71.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.5453, allocations: 54.38 kB / 1.065 GB, free: 71.12 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.5471, allocations: 2.52 MB / 1.068 GB, free: 70.82 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.5471, allocations: 32.14 kB / 1.068 GB, free: 70.79 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/0.5478, allocations: 1.365 MB / 1.069 GB, free: 70.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.5479, allocations: 120.6 kB / 1.069 GB, free: 70.44 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.548, allocations: 152.4 kB / 1.069 GB, free: 70.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.548, allocations: 0.5144 MB / 1.07 GB, free: 69.92 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.5481, allocations: 58.66 kB / 1.07 GB, free: 69.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.5483, allocations: 0.5264 MB / 1.07 GB, free: 69.33 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.0005108/0.5488, allocations: 0.7035 MB / 1.071 GB, free: 68.79 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5488, allocations: 3.688 kB / 1.071 GB, free: 68.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000673/0.5495, allocations: 0.6799 MB / 1.072 GB, free: 68.61 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5495, allocations: 11.78 kB / 1.072 GB, free: 68.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5495, allocations: 8.719 kB / 1.072 GB, free: 68.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.5496, allocations: 49.02 kB / 1.072 GB, free: 68.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.5499, allocations: 130 kB / 1.072 GB, free: 68.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007369/0.5506, allocations: 2.09 MB / 1.074 GB, free: 66.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.5511, allocations: 34.14 kB / 1.074 GB, free: 66.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5511, allocations: 26.41 kB / 1.074 GB, free: 66.67 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.0002706/0.5514, allocations: 201.6 kB / 1.074 GB, free: 66.51 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5516, allocations: 245.5 kB / 1.074 GB, free: 66.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.5518, allocations: 202.9 kB / 1.075 GB, free: 66.36 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5518, allocations: 3.656 kB / 1.075 GB, free: 66.36 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5518, allocations: 6.531 kB / 1.075 GB, free: 66.35 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002552/0.552, allocations: 421.9 kB / 1.075 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.5539, allocations: 2.063 MB / 1.077 GB, free: 65.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5539, allocations: 2.781 kB / 1.077 GB, free: 65.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.554, allocations: 62.11 kB / 1.077 GB, free: 65.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.008e-05/0.5541, allocations: 44.98 kB / 1.077 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.5541, allocations: 9.094 kB / 1.077 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006114/0.5547, allocations: 2.073 MB / 1.079 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5547, allocations: 5.75 kB / 1.079 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.5553, allocations: 0.7375 MB / 1.08 GB, free: 63.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.5555, allocations: 294.7 kB / 1.08 GB, free: 62.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.5557, allocations: 14.47 kB / 1.08 GB, free: 62.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.556, allocations: 15.52 kB / 1.08 GB, free: 62.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.556, allocations: 34.52 kB / 1.08 GB, free: 62.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.556, allocations: 15.59 kB / 1.08 GB, free: 62.91 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009502/0.557, allocations: 1.244 MB / 1.081 GB, free: 62.72 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.557, allocations: 0 / 1.081 GB, free: 62.72 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000747/0.5577, allocations: 314.2 kB / 1.082 GB, free: 62.72 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.0001929/0.5579, allocations: 143 kB / 1.082 GB, free: 62.63 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.5584, allocations: 461.9 kB / 1.082 GB, free: 62.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5584, allocations: 2.531 kB / 1.082 GB, free: 62.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.5585, allocations: 286.6 kB / 1.083 GB, free: 62.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.5603, allocations: 0.8527 MB / 1.083 GB, free: 62.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.564, allocations: 3.431 MB / 1.087 GB, free: 60.61 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.5644, allocations: 0.6423 MB / 1.087 GB, free: 60.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005971/0.565, allocations: 219.9 kB / 1.088 GB, free: 60.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009351/0.566, allocations: 0.6261 MB / 1.088 GB, free: 60.4 MB / 1.01 GB Notification: Performance of SimCode: time 9.82e-07/0.566, allocations: 0.9375 kB / 1.088 GB, free: 60.4 MB / 1.01 GB Notification: Performance of Templates: time 0.04294/0.6089, allocations: 31.44 MB / 1.119 GB, free: 57.32 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.1449790191836655]