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.001017/0.001017, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009686/0.0009686, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.8623/0.8623, allocations: 177.1 MB / 204.2 MB, free: 5.66 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.674/1.674, allocations: 359 MB / 0.6052 GB, free: 11.02 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.553e-06/1.553e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.584e-05, allocations: 6.312 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1365/0.1365, allocations: 156.4 MB / 0.9399 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.1493, allocations: 10.37 MB / 0.9501 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.1519, allocations: 127 kB / 0.9502 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.1564, allocations: 1.806 MB / 0.952 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.1597, allocations: 1.393 MB / 0.9533 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1614, allocations: 0.7753 MB / 0.9541 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003574/0.165, allocations: 3.22 MB / 0.9572 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.1664, allocations: 1.001 MB / 0.9582 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.1692, allocations: 1.729 MB / 0.9599 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.1704, allocations: 0.9309 MB / 0.9608 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.1707, allocations: 124 kB / 0.9609 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.1715, allocations: 427.1 kB / 0.9613 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.1718, allocations: 0.4979 MB / 0.9618 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007186/0.1725, allocations: 0.6388 MB / 0.9624 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.1748, allocations: 2.183 MB / 0.9646 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1748, allocations: 0 / 0.9646 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1748, allocations: 0 / 0.9646 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.322e-05/0.1749, allocations: 4 kB / 0.9646 GB, free: 6.199 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.003238/0.1781, allocations: 3.037 MB / 0.9675 GB, free: 3.109 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1782, allocations: 8.031 kB / 0.9675 GB, free: 3.102 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009861/0.1791, allocations: 453.9 kB / 0.968 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.1812, allocations: 1.792 MB / 0.9697 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.1813, allocations: 58 kB / 0.9698 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.1814, allocations: 80 kB / 0.9699 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.1821, allocations: 0.7385 MB / 0.9706 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.1822, allocations: 0 / 0.9706 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.1822, allocations: 35.98 kB / 0.9706 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.1822, allocations: 32.92 kB / 0.9706 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.1827, allocations: 281.7 kB / 0.9709 GB, free: 15.5 MB / 0.9323 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.003645/0.1863, allocations: 4.114 MB / 0.9749 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1866, allocations: 163.3 kB / 0.9751 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1867, allocations: 79.66 kB / 0.9752 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.1868, allocations: 27.98 kB / 0.9752 GB, free: 11 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1868, allocations: 37.39 kB / 0.9752 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=29): time 3.075e-06/0.1868, allocations: 4 kB / 0.9752 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001779/0.1886, allocations: 1.217 MB / 0.9764 GB, free: 9.688 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.1887, allocations: 55.41 kB / 0.9765 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.191, allocations: 2.557 MB / 0.979 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.191, allocations: 29.7 kB / 0.979 GB, free: 7.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009893/0.192, allocations: 1.349 MB / 0.9803 GB, free: 5.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.1921, allocations: 127 kB / 0.9804 GB, free: 5.535 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1922, allocations: 143.8 kB / 0.9806 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1923, allocations: 0.5199 MB / 0.9811 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1925, allocations: 73.25 kB / 0.9811 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.1928, allocations: 0.5477 MB / 0.9817 GB, free: 4.039 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.0007084/0.1935, allocations: 0.7324 MB / 0.9824 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1935, allocations: 4 kB / 0.9824 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007823/0.1943, allocations: 0.708 MB / 0.9831 GB, free: 2.398 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1943, allocations: 8 kB / 0.9831 GB, free: 2.391 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1943, allocations: 16.09 kB / 0.9831 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.1945, allocations: 47.66 kB / 0.9832 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1947, allocations: 131.8 kB / 0.9833 GB, free: 2.195 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1959, allocations: 2.122 MB / 0.9854 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.1963, allocations: 39.91 kB / 0.9854 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.1963, allocations: 32 kB / 0.9854 GB, free: 15.88 MB / 0.948 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.0002645/0.1966, allocations: 204.3 kB / 0.9856 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.1968, allocations: 242.5 kB / 0.9859 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.1969, allocations: 202.6 kB / 0.986 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1969, allocations: 0 / 0.986 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1969, allocations: 4 kB / 0.986 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004731/0.1974, allocations: 447 kB / 0.9865 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.1994, allocations: 2.043 MB / 0.9885 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1994, allocations: 4 kB / 0.9885 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1995, allocations: 68.31 kB / 0.9885 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.469e-05/0.1996, allocations: 43.66 kB / 0.9886 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1997, allocations: 11.94 kB / 0.9886 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009119/0.2006, allocations: 2.098 MB / 0.9906 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2006, allocations: 4 kB / 0.9906 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.2012, allocations: 0.7753 MB / 0.9914 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.2015, allocations: 315.6 kB / 0.9917 GB, free: 9.062 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.2016, allocations: 12 kB / 0.9917 GB, free: 9.051 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.2019, allocations: 15.98 kB / 0.9917 GB, free: 9.035 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.202, allocations: 31.89 kB / 0.9918 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.202, allocations: 19.88 kB / 0.9918 GB, free: 8.984 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001317/0.2033, allocations: 1.343 MB / 0.9931 GB, free: 7.637 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2033, allocations: 0 / 0.9931 GB, free: 7.637 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008446/0.2041, allocations: 316 kB / 0.9934 GB, free: 7.328 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.0002515/0.2044, allocations: 139.1 kB / 0.9935 GB, free: 7.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005846/0.205, allocations: 477.1 kB / 0.994 GB, free: 6.695 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.205, allocations: 0 / 0.994 GB, free: 6.695 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.2052, allocations: 294.1 kB / 0.9943 GB, free: 6.387 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.207, allocations: 0.8644 MB / 0.9951 GB, free: 5.547 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.2111, allocations: 3.449 MB / 0.9985 GB, free: 1.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.2115, allocations: 0.6397 MB / 0.9991 GB, free: 1.312 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006216/0.2122, allocations: 278 kB / 0.9994 GB, free: 1.035 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.2123, allocations: 100.5 kB / 0.9995 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/0.2123, allocations: 0 / 0.9995 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of Templates: time 0.03645/0.2488, allocations: 30.59 MB / 1.029 GB, free: 3.008 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.250768060795963]