Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000934/0.000934, 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.00095/0.00095, allocations: 181 kB / 24.09 MB, free: 420 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.9074/0.9074, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.695/1.695, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.7877 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.523e-05, allocations: 4.703 kB / 0.7877 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1333/0.1334, allocations: 153.3 MB / 0.9374 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.1451, allocations: 10.27 MB / 0.9474 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.1469, allocations: 127 kB / 0.9475 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.1501, allocations: 1.81 MB / 0.9493 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.1526, allocations: 1.385 MB / 0.9506 GB, free: 4.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1537, allocations: 0.7792 MB / 0.9514 GB, free: 3.887 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.1559, allocations: 3.223 MB / 0.9546 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008326/0.1568, allocations: 0.9968 MB / 0.9555 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.1588, allocations: 1.731 MB / 0.9572 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007643/0.1595, allocations: 0.9347 MB / 0.9581 GB, free: 13 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.1597, allocations: 124 kB / 0.9582 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005744/0.1603, allocations: 427.1 kB / 0.9587 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.1605, allocations: 0.5018 MB / 0.9591 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.161, allocations: 0.635 MB / 0.9598 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.1627, allocations: 2.179 MB / 0.9619 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1627, allocations: 0 / 0.9619 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1627, allocations: 0 / 0.9619 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.1627, allocations: 0 / 0.9619 GB, free: 9.129 MB / 0.9167 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.002513/0.1652, allocations: 3.029 MB / 0.9648 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1653, allocations: 8.031 kB / 0.9649 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007563/0.166, allocations: 461.9 kB / 0.9653 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.1676, allocations: 1.73 MB / 0.967 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.1677, allocations: 58 kB / 0.967 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.1677, allocations: 76 kB / 0.9671 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.1684, allocations: 0.7032 MB / 0.9678 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1685, allocations: 7.969 kB / 0.9678 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.1685, allocations: 32 kB / 0.9678 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.1685, allocations: 28.94 kB / 0.9679 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.1688, allocations: 226.6 kB / 0.9681 GB, free: 2.578 MB / 0.9167 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.003227/0.172, allocations: 4.144 MB / 0.9721 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1722, allocations: 155.2 kB / 0.9723 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.1723, allocations: 67.64 kB / 0.9723 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.761e-05/0.1724, allocations: 23.98 kB / 0.9724 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1724, allocations: 37.39 kB / 0.9724 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.1724, allocations: 0 / 0.9724 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001144/0.1735, allocations: 0.8257 MB / 0.9732 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.1735, allocations: 55.41 kB / 0.9733 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.1754, allocations: 2.516 MB / 0.9757 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1754, allocations: 33.7 kB / 0.9757 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008146/0.1762, allocations: 1.376 MB / 0.9771 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.1763, allocations: 115 kB / 0.9772 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1764, allocations: 155.8 kB / 0.9774 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1765, allocations: 0.5121 MB / 0.9779 GB, free: 8.352 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.1766, allocations: 49.27 kB / 0.9779 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.1771, allocations: 0.5359 MB / 0.9784 GB, free: 7.566 MB / 0.9323 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.0005183/0.1776, allocations: 0.701 MB / 0.9791 GB, free: 6.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1776, allocations: 4 kB / 0.9791 GB, free: 6.676 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005902/0.1782, allocations: 0.6765 MB / 0.9798 GB, free: 5.988 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1783, allocations: 9.875 kB / 0.9798 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1783, allocations: 12 kB / 0.9798 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.1784, allocations: 43.67 kB / 0.9798 GB, free: 5.922 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1786, allocations: 135.8 kB / 0.98 GB, free: 5.789 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009045/0.1795, allocations: 2.088 MB / 0.982 GB, free: 3.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.1798, allocations: 35.95 kB / 0.982 GB, free: 3.555 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.1799, allocations: 32 kB / 0.9821 GB, free: 3.523 MB / 0.9323 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.0002402/0.1801, allocations: 208.2 kB / 0.9823 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.1803, allocations: 246.4 kB / 0.9825 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.1804, allocations: 194.7 kB / 0.9827 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1804, allocations: 8.031 kB / 0.9827 GB, free: 2.859 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1805, allocations: 4 kB / 0.9827 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002532/0.1807, allocations: 427 kB / 0.9831 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.1827, allocations: 2.06 MB / 0.9851 GB, free: 208 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1827, allocations: 4 kB / 0.9851 GB, free: 204 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1829, allocations: 59.91 kB / 0.9852 GB, free: 144 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.1e-05/0.183, allocations: 39.66 kB / 0.9852 GB, free: 100 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.183, allocations: 12 kB / 0.9852 GB, free: 88 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008721/0.1838, allocations: 2.084 MB / 0.9873 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1838, allocations: 4 kB / 0.9873 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.1844, allocations: 0.7354 MB / 0.988 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.1847, allocations: 295.5 kB / 0.9883 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.1848, allocations: 19.92 kB / 0.9883 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.1851, allocations: 12 kB / 0.9883 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1851, allocations: 32.02 kB / 0.9883 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1851, allocations: 11.94 kB / 0.9883 GB, free: 12.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001018/0.1861, allocations: 1.248 MB / 0.9896 GB, free: 11.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1861, allocations: 4 kB / 0.9896 GB, free: 11.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008024/0.1869, allocations: 311.9 kB / 0.9899 GB, free: 11.15 MB / 0.948 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.0002528/0.1872, allocations: 135.1 kB / 0.99 GB, free: 11.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.1877, allocations: 469.2 kB / 0.9904 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1877, allocations: 4 kB / 0.9904 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.1879, allocations: 285.2 kB / 0.9907 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.1899, allocations: 0.8712 MB / 0.9916 GB, free: 9.379 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.1933, allocations: 3.436 MB / 0.9949 GB, free: 5.828 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1937, allocations: 0.6397 MB / 0.9955 GB, free: 5.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004247/0.1941, allocations: 218.1 kB / 0.9957 GB, free: 4.941 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008567/0.195, allocations: 0.6344 MB / 0.9964 GB, free: 4.305 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/0.195, allocations: 4 kB / 0.9964 GB, free: 4.301 MB / 0.948 GB Notification: Performance of Templates: time 0.03516/0.2301, allocations: 31.15 MB / 1.027 GB, free: 5.941 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.354726822115481]