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.001283/0.001283, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00191/0.00191, allocations: 161 kB / 24.16 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.9738/0.9738, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.34 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 1.713e-06/1.713e-06, allocations: 0 / 0.7602 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.165e-05, allocations: 2.312 kB / 0.7602 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1435/0.1435, allocations: 155.5 MB / 0.912 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.1561, allocations: 10.54 MB / 0.9223 GB, free: 4 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.1588, allocations: 127.1 kB / 0.9224 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00402/0.1628, allocations: 1.861 MB / 0.9242 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.1655, allocations: 1.393 MB / 0.9256 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1669, allocations: 0.7636 MB / 0.9263 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.003223/0.1702, allocations: 3.236 MB / 0.9295 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.1716, allocations: 1.067 MB / 0.9306 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.1739, allocations: 1.735 MB / 0.9322 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.175, allocations: 0.9114 MB / 0.9331 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.1751, allocations: 120 kB / 0.9332 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.1759, allocations: 431.1 kB / 0.9337 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.1762, allocations: 0.5018 MB / 0.9342 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.1768, allocations: 0.6311 MB / 0.9348 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.1789, allocations: 2.183 MB / 0.9369 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1789, allocations: 0 / 0.9369 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1789, allocations: 0 / 0.9369 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.242e-05/0.179, allocations: 0 / 0.9369 GB, free: 1.016 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.002302/0.1813, allocations: 2.61 MB / 0.9394 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1813, allocations: 12.03 kB / 0.9395 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008172/0.1821, allocations: 359.5 kB / 0.9398 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.1839, allocations: 1.688 MB / 0.9415 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.184, allocations: 58 kB / 0.9415 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.184, allocations: 79.94 kB / 0.9416 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.1846, allocations: 0.6884 MB / 0.9423 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1846, allocations: 3.984 kB / 0.9423 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.1847, allocations: 32 kB / 0.9423 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1847, allocations: 25 kB / 0.9423 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.185, allocations: 217.5 kB / 0.9425 GB, free: 11.06 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.002465/0.1875, allocations: 2.61 MB / 0.9451 GB, free: 8.383 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1876, allocations: 171 kB / 0.9452 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.1877, allocations: 67.66 kB / 0.9453 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.992e-05/0.1878, allocations: 23.92 kB / 0.9453 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1878, allocations: 34.56 kB / 0.9454 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.1878, allocations: 0 / 0.9454 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31): time 0.001143/0.189, allocations: 0.6796 MB / 0.946 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.189, allocations: 59.34 kB / 0.9461 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1902, allocations: 1.732 MB / 0.9478 GB, free: 5.539 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1902, allocations: 33.7 kB / 0.9478 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.1905, allocations: 0.6516 MB / 0.9484 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.1906, allocations: 119 kB / 0.9485 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1907, allocations: 126.2 kB / 0.9487 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.1908, allocations: 337.9 kB / 0.949 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.1909, allocations: 68.11 kB / 0.9491 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1911, allocations: 401.6 kB / 0.9494 GB, free: 3.641 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.0004762/0.1915, allocations: 0.5749 MB / 0.95 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1916, allocations: 0 / 0.95 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000739/0.1923, allocations: 0.5028 MB / 0.9505 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1923, allocations: 14.12 kB / 0.9505 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1923, allocations: 12 kB / 0.9505 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.1924, allocations: 45.47 kB / 0.9506 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1927, allocations: 143.8 kB / 0.9507 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007575/0.1934, allocations: 1.426 MB / 0.9521 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.1938, allocations: 27.95 kB / 0.9521 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.1938, allocations: 28 kB / 0.9521 GB, free: 0.6445 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.000222/0.194, allocations: 165.2 kB / 0.9523 GB, free: 484 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1942, allocations: 143.7 kB / 0.9524 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.1943, allocations: 194.7 kB / 0.9526 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1943, allocations: 4 kB / 0.9526 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1943, allocations: 0 / 0.9526 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002346/0.1946, allocations: 387.8 kB / 0.953 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.196, allocations: 1.655 MB / 0.9546 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1961, allocations: 4.125 kB / 0.9546 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.1964, allocations: 319.9 kB / 0.9549 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.1965, allocations: 37.19 kB / 0.955 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1965, allocations: 12 kB / 0.955 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000695/0.1972, allocations: 1.415 MB / 0.9563 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1972, allocations: 4 kB / 0.9564 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.1977, allocations: 0.5676 MB / 0.9569 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.1982, allocations: 247.6 kB / 0.9571 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.1983, allocations: 15.98 kB / 0.9572 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.1986, allocations: 12.06 kB / 0.9572 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1986, allocations: 35.89 kB / 0.9572 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1986, allocations: 12 kB / 0.9572 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007132/0.1993, allocations: 0.9111 MB / 0.9581 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1993, allocations: 0 / 0.9581 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000616/0.2, allocations: 308 kB / 0.9584 GB, free: 9.906 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.0001973/0.2002, allocations: 136.2 kB / 0.9585 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.2006, allocations: 389.4 kB / 0.9589 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.293e-05/0.2006, allocations: 30.19 kB / 0.9589 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2008, allocations: 220 kB / 0.9591 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.2025, allocations: 0.896 MB / 0.96 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.2061, allocations: 3.302 MB / 0.9632 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.2066, allocations: 0.5539 MB / 0.9638 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009035/0.2075, allocations: 226.1 kB / 0.964 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009481/0.2084, allocations: 0.5498 MB / 0.9645 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of SimCode: time 1.232e-06/0.2084, allocations: 0 / 0.9645 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of Templates: time 0.03786/0.2463, allocations: 31.31 MB / 0.9951 GB, free: 4.938 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 -s gbode -gbm=radauIIA3 -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.552083760034293]