Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001206/0.001206, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00128/0.00128, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9067/0.9067, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 4 kB / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.702e-05, allocations: 3.297 kB / 0.8116 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1252/0.1253, allocations: 156.4 MB / 0.9644 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1367, allocations: 10.38 MB / 0.9746 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1383, allocations: 135 kB / 0.9747 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004373/0.1427, allocations: 1.806 MB / 0.9764 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.1449, allocations: 1.381 MB / 0.9778 GB, free: 6.922 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1461, allocations: 0.7753 MB / 0.9785 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002615/0.1487, allocations: 3.226 MB / 0.9817 GB, free: 2.91 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.1498, allocations: 1.012 MB / 0.9827 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.1519, allocations: 1.744 MB / 0.9844 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000991/0.1529, allocations: 0.9308 MB / 0.9853 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.1531, allocations: 124 kB / 0.9854 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006602/0.1537, allocations: 427.1 kB / 0.9858 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.1541, allocations: 0.4979 MB / 0.9863 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.1546, allocations: 0.6389 MB / 0.9869 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.1565, allocations: 2.183 MB / 0.9891 GB, free: 11.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1565, allocations: 0 / 0.9891 GB, free: 11.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1565, allocations: 3.938 kB / 0.9891 GB, free: 11.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.629e-05/0.1565, allocations: 0 / 0.9891 GB, free: 11.34 MB / 0.948 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.002815/0.1593, allocations: 3.037 MB / 0.992 GB, free: 8.258 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1594, allocations: 8.031 kB / 0.992 GB, free: 8.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.1602, allocations: 450 kB / 0.9925 GB, free: 7.809 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.162, allocations: 1.792 MB / 0.9942 GB, free: 5.941 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.1621, allocations: 58 kB / 0.9943 GB, free: 5.883 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.1621, allocations: 83.98 kB / 0.9944 GB, free: 5.801 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.1629, allocations: 0.7424 MB / 0.9951 GB, free: 4.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1629, allocations: 3.938 kB / 0.9951 GB, free: 4.977 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.1629, allocations: 32 kB / 0.9951 GB, free: 4.945 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.163, allocations: 25 kB / 0.9951 GB, free: 4.922 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.1634, allocations: 285.7 kB / 0.9954 GB, free: 4.645 MB / 0.948 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.00345/0.1669, allocations: 4.118 MB / 0.9994 GB, free: 440 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1671, allocations: 163.3 kB / 0.9996 GB, free: 264 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1672, allocations: 76.36 kB / 0.9997 GB, free: 184 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/0.1673, allocations: 27.98 kB / 0.9997 GB, free: 156 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1673, allocations: 41.83 kB / 0.9997 GB, free: 104 kB / 0.948 GB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.1673, allocations: 0 / 0.9997 GB, free: 104 kB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0016/0.1689, allocations: 1.223 MB / 1.001 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.169, allocations: 55.41 kB / 1.001 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.1713, allocations: 2.557 MB / 1.003 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1713, allocations: 29.7 kB / 1.004 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008173/0.1721, allocations: 1.345 MB / 1.005 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.1722, allocations: 123 kB / 1.005 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1723, allocations: 151.8 kB / 1.005 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1725, allocations: 0.5121 MB / 1.006 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1726, allocations: 77.19 kB / 1.006 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1729, allocations: 0.5399 MB / 1.006 GB, free: 9.191 MB / 0.9636 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.0006613/0.1735, allocations: 0.7402 MB / 1.007 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.1735, allocations: 4 kB / 1.007 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007489/0.1743, allocations: 0.708 MB / 1.008 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1743, allocations: 10.03 kB / 1.008 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1743, allocations: 12.06 kB / 1.008 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.1745, allocations: 51.66 kB / 1.008 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.1747, allocations: 135.8 kB / 1.008 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.1758, allocations: 2.118 MB / 1.01 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.1762, allocations: 39.97 kB / 1.01 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1762, allocations: 32 kB / 1.01 GB, free: 5.031 MB / 0.9636 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.0002436/0.1764, allocations: 212.2 kB / 1.01 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.1766, allocations: 246.4 kB / 1.01 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.1767, allocations: 190.7 kB / 1.011 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1768, allocations: 7.938 kB / 1.011 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1768, allocations: 0 / 1.011 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003126/0.1771, allocations: 454.5 kB / 1.011 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.1789, allocations: 2.047 MB / 1.013 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1789, allocations: 4 kB / 1.013 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.1791, allocations: 60.31 kB / 1.013 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.38e-05/0.1792, allocations: 51.78 kB / 1.013 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1792, allocations: 11.94 kB / 1.013 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008662/0.18, allocations: 2.103 MB / 1.015 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.18, allocations: 4 kB / 1.015 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1806, allocations: 0.7707 MB / 1.016 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.1809, allocations: 307.5 kB / 1.016 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.181, allocations: 12 kB / 1.016 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.1813, allocations: 12 kB / 1.016 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1814, allocations: 35.83 kB / 1.016 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1814, allocations: 15.98 kB / 1.016 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001442/0.1828, allocations: 1.339 MB / 1.018 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.1828, allocations: 4 kB / 1.018 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005932/0.1834, allocations: 312 kB / 1.018 GB, free: 12.47 MB / 0.9792 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.0002066/0.1836, allocations: 139.2 kB / 1.018 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.1842, allocations: 481.3 kB / 1.018 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1842, allocations: 0 / 1.018 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1844, allocations: 298 kB / 1.019 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.1861, allocations: 0.8762 MB / 1.02 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.1894, allocations: 3.434 MB / 1.023 GB, free: 7.125 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.19, allocations: 0.6396 MB / 1.024 GB, free: 6.457 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004826/0.1905, allocations: 282 kB / 1.024 GB, free: 6.176 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1906, allocations: 100.5 kB / 1.024 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/0.1906, allocations: 0 / 1.024 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of Templates: time 0.3423/0.5329, allocations: 30.57 MB / 1.054 GB, free: 113.9 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.611269939690828]