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.0009484/0.0009484, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009572/0.0009572, allocations: 161.4 kB / 24.17 MB, free: 332 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.9067/0.9067, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.778/1.778, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.064e-06/2.064e-06, allocations: 4 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.377e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1302/0.1302, allocations: 155.5 MB / 0.9119 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1417, allocations: 10.54 MB / 0.9222 GB, free: 132 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.1429, allocations: 131 kB / 0.9224 GB, free: 0 / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.1457, allocations: 1.841 MB / 0.9241 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.1476, allocations: 1.381 MB / 0.9255 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1487, allocations: 0.7714 MB / 0.9263 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.1513, allocations: 3.233 MB / 0.9294 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008896/0.1522, allocations: 1.018 MB / 0.9304 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.154, allocations: 1.748 MB / 0.9321 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.1548, allocations: 0.9075 MB / 0.933 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.1549, allocations: 120 kB / 0.9331 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.1554, allocations: 423.1 kB / 0.9335 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.1557, allocations: 0.494 MB / 0.934 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.1562, allocations: 0.6427 MB / 0.9346 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1579, allocations: 2.183 MB / 0.9368 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1579, allocations: 0 / 0.9368 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1579, allocations: 0 / 0.9368 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.1579, allocations: 0 / 0.9368 GB, free: 1.191 MB / 0.8855 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.002115/0.16, allocations: 2.61 MB / 0.9393 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.16, allocations: 12.03 kB / 0.9393 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/0.1609, allocations: 351.5 kB / 0.9397 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1625, allocations: 1.7 MB / 0.9413 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.1625, allocations: 58 kB / 0.9414 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.1626, allocations: 76 kB / 0.9414 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.1631, allocations: 0.6845 MB / 0.9421 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1631, allocations: 3.938 kB / 0.9421 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.1632, allocations: 32 kB / 0.9421 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.1632, allocations: 32.98 kB / 0.9422 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.1635, allocations: 213.6 kB / 0.9424 GB, free: 11.24 MB / 0.9011 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.002326/0.1658, allocations: 2.602 MB / 0.9449 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.166, allocations: 180 kB / 0.9451 GB, free: 8.379 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.166, allocations: 59.66 kB / 0.9451 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.1661, allocations: 31.97 kB / 0.9452 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1661, allocations: 38.56 kB / 0.9452 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=29): time 1.323e-06/0.1661, allocations: 0 / 0.9452 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31): time 0.001072/0.1672, allocations: 0.6718 MB / 0.9459 GB, free: 7.527 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.1672, allocations: 55.41 kB / 0.9459 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.1684, allocations: 1.732 MB / 0.9476 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1684, allocations: 37.7 kB / 0.9477 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.1687, allocations: 0.6516 MB / 0.9483 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.1688, allocations: 127 kB / 0.9484 GB, free: 4.887 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1689, allocations: 126.2 kB / 0.9485 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.169, allocations: 329.9 kB / 0.9488 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.169, allocations: 68.11 kB / 0.9489 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.1692, allocations: 405.6 kB / 0.9493 GB, free: 3.812 MB / 0.9011 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.0005979/0.1698, allocations: 0.5727 MB / 0.9499 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1698, allocations: 11.94 kB / 0.9499 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004554/0.1703, allocations: 0.4995 MB / 0.9504 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1703, allocations: 10.5 kB / 0.9504 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1703, allocations: 12 kB / 0.9504 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001026/0.1704, allocations: 36.84 kB / 0.9504 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.1706, allocations: 127.8 kB / 0.9505 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006845/0.1713, allocations: 1.434 MB / 0.9519 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.1716, allocations: 31.95 kB / 0.952 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.1717, allocations: 24 kB / 0.952 GB, free: 0.8281 MB / 0.9011 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.0002109/0.1719, allocations: 160.4 kB / 0.9521 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.172, allocations: 135.9 kB / 0.9523 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.1722, allocations: 202.6 kB / 0.9525 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1722, allocations: 4 kB / 0.9525 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1722, allocations: 4.031 kB / 0.9525 GB, free: 328 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002301/0.1724, allocations: 391.7 kB / 0.9528 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.1738, allocations: 1.659 MB / 0.9545 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1738, allocations: 0 / 0.9545 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1739, allocations: 63.91 kB / 0.9545 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-05/0.174, allocations: 32.83 kB / 0.9546 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.174, allocations: 12.05 kB / 0.9546 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000619/0.1746, allocations: 1.415 MB / 0.9559 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1746, allocations: 7.938 kB / 0.956 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.1751, allocations: 0.5559 MB / 0.9565 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.1754, allocations: 247.6 kB / 0.9567 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.1755, allocations: 12 kB / 0.9567 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.1757, allocations: 15.88 kB / 0.9568 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1758, allocations: 27.95 kB / 0.9568 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1758, allocations: 12.06 kB / 0.9568 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006878/0.1765, allocations: 0.9189 MB / 0.9577 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1765, allocations: 0 / 0.9577 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005535/0.177, allocations: 308 kB / 0.958 GB, free: 10.35 MB / 0.9167 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.0001775/0.1772, allocations: 120.2 kB / 0.9581 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.1776, allocations: 399 kB / 0.9585 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.967e-05/0.1776, allocations: 28.5 kB / 0.9585 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1777, allocations: 227.2 kB / 0.9587 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.1793, allocations: 0.887 MB / 0.9596 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.1825, allocations: 3.313 MB / 0.9628 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1829, allocations: 0.5578 MB / 0.9634 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004907/0.1834, allocations: 218.2 kB / 0.9636 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/0.1843, allocations: 0.5459 MB / 0.9641 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/0.1843, allocations: 0 / 0.9641 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.03277/0.217, allocations: 31.32 MB / 0.9947 GB, free: 5.383 MB / 0.948 GB " [Timeout remaining time 300] 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.360928688198328]