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.0009072/0.0009072, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009382/0.0009382, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.8729/0.8729, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.832/1.832, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.573e-06/1.573e-06, allocations: 0 / 0.8129 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.102e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1394/0.1395, allocations: 153.3 MB / 0.9626 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1509, allocations: 10.27 MB / 0.9727 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.1529, allocations: 127 kB / 0.9728 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003616/0.1565, allocations: 1.814 MB / 0.9745 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.159, allocations: 1.389 MB / 0.9759 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1604, allocations: 0.7753 MB / 0.9767 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.1633, allocations: 3.227 MB / 0.9798 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009723/0.1643, allocations: 1.005 MB / 0.9808 GB, free: 4.812 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.1663, allocations: 1.744 MB / 0.9825 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.1671, allocations: 0.9309 MB / 0.9834 GB, free: 2.168 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1673, allocations: 127.9 kB / 0.9835 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.1681, allocations: 435 kB / 0.9839 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.1684, allocations: 0.4901 MB / 0.9844 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.1689, allocations: 0.6389 MB / 0.985 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.1706, allocations: 2.183 MB / 0.9872 GB, free: 14.29 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1706, allocations: 0 / 0.9872 GB, free: 14.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.1706, allocations: 0 / 0.9872 GB, free: 14.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.1706, allocations: 0 / 0.9872 GB, free: 14.29 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.002356/0.173, allocations: 3.028 MB / 0.9901 GB, free: 11.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.173, allocations: 8.031 kB / 0.9901 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.1738, allocations: 454 kB / 0.9906 GB, free: 10.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.1754, allocations: 1.741 MB / 0.9923 GB, free: 8.945 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.1755, allocations: 58 kB / 0.9923 GB, free: 8.887 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.1756, allocations: 80 kB / 0.9924 GB, free: 8.809 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.1762, allocations: 0.6993 MB / 0.9931 GB, free: 8.031 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1762, allocations: 3.984 kB / 0.9931 GB, free: 8.027 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.1763, allocations: 32 kB / 0.9931 GB, free: 7.996 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.1763, allocations: 28.94 kB / 0.9932 GB, free: 7.969 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.1766, allocations: 222.7 kB / 0.9934 GB, free: 7.75 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.003199/0.1798, allocations: 4.156 MB / 0.9974 GB, free: 3.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.18, allocations: 147.3 kB / 0.9976 GB, free: 3.344 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.1803, allocations: 67.64 kB / 0.9976 GB, free: 3.273 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.1804, allocations: 19.98 kB / 0.9976 GB, free: 3.254 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1804, allocations: 41.89 kB / 0.9977 GB, free: 3.203 MB / 0.948 GB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.1804, allocations: 0 / 0.9977 GB, free: 3.203 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001216/0.1816, allocations: 0.827 MB / 0.9985 GB, free: 2.332 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.1816, allocations: 63.39 kB / 0.9986 GB, free: 2.258 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.1835, allocations: 2.516 MB / 1.001 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1835, allocations: 37.7 kB / 1.001 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008404/0.1844, allocations: 1.361 MB / 1.002 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.1844, allocations: 127 kB / 1.002 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.1846, allocations: 147.8 kB / 1.003 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1847, allocations: 0.5082 MB / 1.003 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.1847, allocations: 57.25 kB / 1.003 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.185, allocations: 0.5359 MB / 1.004 GB, free: 12.73 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.0007824/0.1858, allocations: 0.6978 MB / 1.004 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1858, allocations: 4 kB / 1.004 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006139/0.1864, allocations: 0.6723 MB / 1.005 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1864, allocations: 8 kB / 1.005 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1864, allocations: 12 kB / 1.005 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.1866, allocations: 44.23 kB / 1.005 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1868, allocations: 127.8 kB / 1.005 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009066/0.1877, allocations: 2.091 MB / 1.007 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.1881, allocations: 31.95 kB / 1.007 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.1881, allocations: 24 kB / 1.007 GB, free: 8.711 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.0002588/0.1884, allocations: 208.2 kB / 1.008 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.1885, allocations: 254.4 kB / 1.008 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.1887, allocations: 194.7 kB / 1.008 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1887, allocations: 4 kB / 1.008 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1887, allocations: 0 / 1.008 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002638/0.189, allocations: 438.4 kB / 1.008 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.1908, allocations: 2.059 MB / 1.01 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1908, allocations: 0 / 1.01 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.191, allocations: 67.91 kB / 1.01 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.669e-05/0.1911, allocations: 35.8 kB / 1.01 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1911, allocations: 12.41 kB / 1.011 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.1922, allocations: 2.084 MB / 1.013 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1922, allocations: 4 kB / 1.013 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.1928, allocations: 0.7344 MB / 1.013 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.1931, allocations: 291.5 kB / 1.014 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.1932, allocations: 20 kB / 1.014 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.1935, allocations: 11.98 kB / 1.014 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1935, allocations: 27.91 kB / 1.014 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1936, allocations: 19.92 kB / 1.014 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009543/0.1945, allocations: 1.252 MB / 1.015 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.1945, allocations: 0 / 1.015 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0006308/0.1952, allocations: 311.9 kB / 1.015 GB, free: 328 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.0001932/0.1953, allocations: 143.1 kB / 1.015 GB, free: 176 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.1958, allocations: 460.6 kB / 1.016 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1958, allocations: 0 / 1.016 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.196, allocations: 289 kB / 1.016 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.1977, allocations: 0.8672 MB / 1.017 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.2014, allocations: 3.442 MB / 1.02 GB, free: 11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.2018, allocations: 0.6396 MB / 1.021 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004825/0.2023, allocations: 222.1 kB / 1.021 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009064/0.2032, allocations: 0.6305 MB / 1.022 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of SimCode: time 8.22e-07/0.2032, allocations: 0 / 1.022 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of Templates: time 0.3793/0.5826, allocations: 31.51 MB / 1.052 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.795596140902489]