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.001176/0.001176, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001005/0.001005, allocations: 169 kB / 24.28 MB, free: 280 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.9388/0.9388, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.729/1.729, allocations: 359 MB / 0.6055 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 2.144e-06/2.144e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.04e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1459/0.1459, allocations: 175.6 MB / 0.9587 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1585, allocations: 11.01 MB / 0.9694 GB, free: 1.469 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.1604, allocations: 127 kB / 0.9696 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003483/0.1639, allocations: 1.911 MB / 0.9714 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.1665, allocations: 1.732 MB / 0.9731 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1678, allocations: 0.8219 MB / 0.9739 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002427/0.1702, allocations: 3.257 MB / 0.9771 GB, free: 9.594 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.1713, allocations: 1.005 MB / 0.9781 GB, free: 8.559 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.1728, allocations: 1.601 MB / 0.9796 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.1739, allocations: 0.9893 MB / 0.9806 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1741, allocations: 132 kB / 0.9807 GB, free: 5.855 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1751, allocations: 0.7946 MB / 0.9815 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.1754, allocations: 0.5057 MB / 0.982 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.1759, allocations: 0.6428 MB / 0.9826 GB, free: 3.906 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.1779, allocations: 2.37 MB / 0.9849 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1779, allocations: 3.938 kB / 0.985 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1779, allocations: 4 kB / 0.985 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.1779, allocations: 0 / 0.985 GB, free: 1.52 MB / 0.9323 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.002664/0.1805, allocations: 3.079 MB / 0.988 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1806, allocations: 8.031 kB / 0.988 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.1816, allocations: 465.8 kB / 0.9884 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.1833, allocations: 1.786 MB / 0.9902 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.1834, allocations: 58 kB / 0.9902 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.1835, allocations: 83.94 kB / 0.9903 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.1842, allocations: 0.7424 MB / 0.991 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1842, allocations: 0 / 0.991 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.1843, allocations: 43.97 kB / 0.9911 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.1843, allocations: 25 kB / 0.9911 GB, free: 11.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.1848, allocations: 281.6 kB / 0.9914 GB, free: 10.78 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.003448/0.1882, allocations: 4.157 MB / 0.9954 GB, free: 6.523 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1885, allocations: 155.3 kB / 0.9956 GB, free: 6.359 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1886, allocations: 85.75 kB / 0.9956 GB, free: 6.273 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.753e-05/0.1887, allocations: 23.98 kB / 0.9957 GB, free: 6.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1887, allocations: 41.33 kB / 0.9957 GB, free: 6.199 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.1887, allocations: 0 / 0.9957 GB, free: 6.199 MB / 0.948 GB Notification: Performance of matching and sorting (n=32): time 0.001725/0.1904, allocations: 1.221 MB / 0.9969 GB, free: 4.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1905, allocations: 55.41 kB / 0.9969 GB, free: 4.863 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.1926, allocations: 2.483 MB / 0.9994 GB, free: 2.367 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1927, allocations: 29.7 kB / 0.9994 GB, free: 2.332 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008253/0.1935, allocations: 1.303 MB / 1.001 GB, free: 1.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.1936, allocations: 126.9 kB / 1.001 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1937, allocations: 123.9 kB / 1.001 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1938, allocations: 0.5004 MB / 1.001 GB, free: 264 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1939, allocations: 61.11 kB / 1.001 GB, free: 204 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1941, allocations: 423.3 kB / 1.002 GB, free: 15.65 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.0005887/0.1947, allocations: 0.5566 MB / 1.002 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1947, allocations: 4 kB / 1.002 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000781/0.1955, allocations: 0.5936 MB / 1.003 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1955, allocations: 12 kB / 1.003 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1955, allocations: 8 kB / 1.003 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.1957, allocations: 39.67 kB / 1.003 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1959, allocations: 107.8 kB / 1.003 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.1969, allocations: 2.126 MB / 1.005 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.1973, allocations: 27.94 kB / 1.005 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.1973, allocations: 24 kB / 1.005 GB, free: 11.9 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: 28 * 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 (58): * Single equations (assignments): 57 * 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.0002562/0.1976, allocations: 192.4 kB / 1.005 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.1977, allocations: 242.4 kB / 1.006 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.1979, allocations: 194.2 kB / 1.006 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1979, allocations: 4 kB / 1.006 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1979, allocations: 0 / 1.006 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003227/0.1982, allocations: 459 kB / 1.006 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.2001, allocations: 2.059 MB / 1.008 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2001, allocations: 8.031 kB / 1.008 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.2003, allocations: 63.91 kB / 1.008 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-05/0.2004, allocations: 39.66 kB / 1.008 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2004, allocations: 16 kB / 1.008 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008728/0.2013, allocations: 2.126 MB / 1.011 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2013, allocations: 4 kB / 1.011 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.2019, allocations: 0.7524 MB / 1.011 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.2022, allocations: 315.4 kB / 1.012 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2023, allocations: 15.98 kB / 1.012 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.2026, allocations: 12 kB / 1.012 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.2026, allocations: 35.83 kB / 1.012 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.2026, allocations: 20.06 kB / 1.012 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001212/0.2038, allocations: 1.314 MB / 1.013 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.2038, allocations: 0 / 1.013 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005896/0.2044, allocations: 303.9 kB / 1.013 GB, free: 3.379 MB / 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 (29): * Single equations (assignments): 28 * 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.0002321/0.2047, allocations: 156.9 kB / 1.013 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004825/0.2051, allocations: 447 kB / 1.014 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2051, allocations: 4 kB / 1.014 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2053, allocations: 290.6 kB / 1.014 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.2071, allocations: 0.8621 MB / 1.015 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.2107, allocations: 3.443 MB / 1.018 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.2111, allocations: 0.6394 MB / 1.019 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004557/0.2115, allocations: 249.3 kB / 1.019 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2117, allocations: 100.4 kB / 1.019 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of SimCode: time 1.193e-06/0.2117, allocations: 0 / 1.019 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of Templates: time 0.0319/0.2436, allocations: 28.88 MB / 1.047 GB, free: 0.8242 MB / 0.9948 GB " [Timeout remaining time 299] 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.866858829976991]