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.0008951/0.0008951, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009424/0.0009424, allocations: 185.3 kB / 24.09 MB, free: 416 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.8955/0.8955, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.786/1.786, allocations: 377.9 MB / 0.624 GB, free: 8.391 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 1.973e-06/1.973e-06, allocations: 3.938 kB / 0.8121 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.474e-05, allocations: 4.984 kB / 0.8121 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1261/0.1261, allocations: 153.3 MB / 0.9618 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.1381, allocations: 10.28 MB / 0.9719 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.1402, allocations: 127 kB / 0.972 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.1442, allocations: 1.806 MB / 0.9738 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.1469, allocations: 1.385 MB / 0.9751 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1483, allocations: 0.7792 MB / 0.9759 GB, free: 9.051 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.1513, allocations: 3.234 MB / 0.979 GB, free: 5.809 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.1528, allocations: 1.005 MB / 0.98 GB, free: 4.773 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.155, allocations: 1.734 MB / 0.9817 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.1561, allocations: 0.9348 MB / 0.9826 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.1563, allocations: 120 kB / 0.9827 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006967/0.157, allocations: 435 kB / 0.9832 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.1573, allocations: 0.5018 MB / 0.9837 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005785/0.1579, allocations: 0.635 MB / 0.9843 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.1598, allocations: 2.187 MB / 0.9864 GB, free: 14.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1598, allocations: 0 / 0.9864 GB, free: 14.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1598, allocations: 0 / 0.9864 GB, free: 14.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.691e-05/0.1598, allocations: 0 / 0.9864 GB, free: 14.25 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.002746/0.1625, allocations: 3.021 MB / 0.9894 GB, free: 11.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1626, allocations: 8.031 kB / 0.9894 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000969/0.1636, allocations: 457.9 kB / 0.9898 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.1652, allocations: 1.737 MB / 0.9915 GB, free: 8.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.1653, allocations: 58 kB / 0.9916 GB, free: 8.852 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.1653, allocations: 76 kB / 0.9916 GB, free: 8.777 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.1659, allocations: 0.6993 MB / 0.9923 GB, free: 8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.166, allocations: 7.984 kB / 0.9923 GB, free: 7.992 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.166, allocations: 32 kB / 0.9923 GB, free: 7.961 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.166, allocations: 28.94 kB / 0.9924 GB, free: 7.934 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1663, allocations: 230.6 kB / 0.9926 GB, free: 7.707 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.003369/0.1697, allocations: 4.152 MB / 0.9967 GB, free: 3.461 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1699, allocations: 143.3 kB / 0.9968 GB, free: 3.309 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.1699, allocations: 73.45 kB / 0.9969 GB, free: 3.234 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-05/0.17, allocations: 26.86 kB / 0.9969 GB, free: 3.211 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1701, allocations: 37.89 kB / 0.9969 GB, free: 3.164 MB / 0.948 GB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/0.1701, allocations: 0 / 0.9969 GB, free: 3.164 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001187/0.1712, allocations: 0.827 MB / 0.9977 GB, free: 2.293 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.1713, allocations: 59.41 kB / 0.9978 GB, free: 2.223 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.1734, allocations: 2.52 MB / 1 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1734, allocations: 33.7 kB / 1 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008129/0.1742, allocations: 1.365 MB / 1.002 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.1743, allocations: 123 kB / 1.002 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1744, allocations: 151.8 kB / 1.002 GB, free: 14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1746, allocations: 0.5082 MB / 1.002 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.1746, allocations: 53.27 kB / 1.002 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.1749, allocations: 0.532 MB / 1.003 GB, free: 12.7 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.0005273/0.1754, allocations: 0.7055 MB / 1.004 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1754, allocations: 0 / 1.004 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005927/0.176, allocations: 0.6728 MB / 1.004 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.176, allocations: 8 kB / 1.004 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.176, allocations: 8 kB / 1.004 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.1761, allocations: 59.64 kB / 1.004 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.1764, allocations: 131.8 kB / 1.004 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00092/0.1773, allocations: 2.075 MB / 1.007 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.1776, allocations: 35.88 kB / 1.007 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.1777, allocations: 32 kB / 1.007 GB, free: 8.664 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.0002496/0.1779, allocations: 213.8 kB / 1.007 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.1783, allocations: 250.4 kB / 1.007 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.1785, allocations: 194.6 kB / 1.007 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1785, allocations: 4 kB / 1.007 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1785, allocations: 4.031 kB / 1.007 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002497/0.1787, allocations: 430.5 kB / 1.008 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1805, allocations: 2.061 MB / 1.01 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1805, allocations: 8.125 kB / 1.01 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1806, allocations: 63.91 kB / 1.01 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.131e-05/0.1807, allocations: 31.67 kB / 1.01 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1807, allocations: 12 kB / 1.01 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007971/0.1815, allocations: 2.08 MB / 1.012 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1815, allocations: 4 kB / 1.012 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.182, allocations: 0.7266 MB / 1.012 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.1823, allocations: 295.5 kB / 1.013 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.1824, allocations: 15.94 kB / 1.013 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1827, allocations: 16.11 kB / 1.013 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1827, allocations: 27.95 kB / 1.013 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1827, allocations: 24 kB / 1.013 GB, free: 1.84 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001166/0.1839, allocations: 1.252 MB / 1.014 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1839, allocations: 0 / 1.014 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005931/0.1845, allocations: 311.9 kB / 1.014 GB, free: 284 kB / 0.9636 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.000191/0.1847, allocations: 143 kB / 1.015 GB, free: 132 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.1851, allocations: 467.2 kB / 1.015 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1851, allocations: 4.25 kB / 1.015 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1853, allocations: 281.2 kB / 1.015 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.187, allocations: 0.8723 MB / 1.016 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.1904, allocations: 3.423 MB / 1.019 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1908, allocations: 0.6473 MB / 1.02 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004682/0.1913, allocations: 226.1 kB / 1.02 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.1924, allocations: 0.6344 MB / 1.021 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of SimCode: time 8.01e-07/0.1924, allocations: 0 / 1.021 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of Templates: time 0.3402/0.5326, allocations: 31.15 MB / 1.051 GB, free: 114.1 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.6521472171880305]