Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007462/0.0007462, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001779, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006993/0.0006993, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009295/0.001629, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8793/0.8793, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07971/0.959, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.21/2.21, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2055/2.415, allocations: 146 MB / 0.8176 GB, free: 3.844 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.878e-05, allocations: 6.312 kB / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1341/0.1341, allocations: 156 MB / 0.9714 GB, free: 5.801 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1453, allocations: 10.6 MB / 0.9817 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.1467, allocations: 127 kB / 0.9818 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.1496, allocations: 1.857 MB / 0.9837 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1516, allocations: 1.37 MB / 0.985 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.1527, allocations: 0.7636 MB / 0.9857 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.1549, allocations: 3.231 MB / 0.9889 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.156, allocations: 1.034 MB / 0.9899 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.1579, allocations: 2.119 MB / 0.992 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.1587, allocations: 0.9114 MB / 0.9929 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.1589, allocations: 127.9 kB / 0.993 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005948/0.1594, allocations: 435.1 kB / 0.9934 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.1597, allocations: 422.2 kB / 0.9938 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.1601, allocations: 0.5571 MB / 0.9943 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1616, allocations: 2.117 MB / 0.9964 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.1616, allocations: 0 / 0.9964 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1616, allocations: 0 / 0.9964 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.1617, allocations: 0 / 0.9964 GB, free: 12.04 MB / 0.9792 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.002223/0.1639, allocations: 3.055 MB / 0.9994 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.1639, allocations: 8.031 kB / 0.9994 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.1647, allocations: 428.6 kB / 0.9998 GB, free: 8.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.1662, allocations: 1.688 MB / 1.001 GB, free: 6.727 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.1663, allocations: 58 kB / 1.002 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.1663, allocations: 79.95 kB / 1.002 GB, free: 6.59 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.1669, allocations: 0.7001 MB / 1.002 GB, free: 5.82 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1669, allocations: 3.984 kB / 1.002 GB, free: 5.816 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.167, allocations: 32 kB / 1.002 GB, free: 5.785 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.167, allocations: 29 kB / 1.002 GB, free: 5.758 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.1673, allocations: 237.5 kB / 1.003 GB, free: 5.527 MB / 0.9792 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.002032/0.1693, allocations: 2.602 MB / 1.005 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1695, allocations: 180 kB / 1.005 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.1695, allocations: 71.66 kB / 1.005 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.1696, allocations: 19.98 kB / 1.005 GB, free: 2.566 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1696, allocations: 42.56 kB / 1.005 GB, free: 2.516 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=29): time 1.343e-06/0.1696, allocations: 0 / 1.005 GB, free: 2.516 MB / 0.9792 GB Notification: Performance of matching and sorting (n=31): time 0.001103/0.1707, allocations: 0.6976 MB / 1.006 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.1707, allocations: 55.41 kB / 1.006 GB, free: 1.711 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.1719, allocations: 1.731 MB / 1.008 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1719, allocations: 33.7 kB / 1.008 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000735/0.1726, allocations: 0.6516 MB / 1.009 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1728, allocations: 119 kB / 1.009 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.173, allocations: 138.1 kB / 1.009 GB, free: 15 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.1731, allocations: 329.9 kB / 1.009 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1732, allocations: 68.11 kB / 1.009 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1734, allocations: 401.6 kB / 1.01 GB, free: 14.07 MB / 0.9948 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.0005388/0.1739, allocations: 0.6073 MB / 1.01 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1739, allocations: 8 kB / 1.01 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006346/0.1746, allocations: 0.4955 MB / 1.011 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1746, allocations: 12.03 kB / 1.011 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1746, allocations: 12 kB / 1.011 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.1747, allocations: 48.81 kB / 1.011 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.175, allocations: 143.8 kB / 1.011 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007938/0.1758, allocations: 1.438 MB / 1.012 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.1762, allocations: 24 kB / 1.012 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.1763, allocations: 28 kB / 1.012 GB, free: 11.02 MB / 0.9948 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.0002705/0.1765, allocations: 167.2 kB / 1.012 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1767, allocations: 135.8 kB / 1.013 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.1768, allocations: 198.6 kB / 1.013 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1768, allocations: 4 kB / 1.013 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1768, allocations: 4.031 kB / 1.013 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002494/0.1771, allocations: 387.4 kB / 1.013 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.1786, allocations: 1.668 MB / 1.015 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1786, allocations: 4 kB / 1.015 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.179, allocations: 319.8 kB / 1.015 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.1792, allocations: 251.5 kB / 1.015 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.621e-05/0.1793, allocations: 28.84 kB / 1.015 GB, free: 7.715 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1793, allocations: 12 kB / 1.015 GB, free: 7.703 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000664/0.18, allocations: 1.422 MB / 1.017 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.18, allocations: 7.938 kB / 1.017 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.1804, allocations: 0.5635 MB / 1.017 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.1805, allocations: 15.98 kB / 1.017 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.1808, allocations: 16 kB / 1.017 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1808, allocations: 31.89 kB / 1.017 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1808, allocations: 12 kB / 1.017 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006856/0.1815, allocations: 0.9109 MB / 1.018 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1815, allocations: 4 kB / 1.018 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007109/0.1822, allocations: 308 kB / 1.019 GB, free: 4.266 MB / 0.9948 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.0002313/0.1824, allocations: 128.2 kB / 1.019 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.1829, allocations: 404 kB / 1.019 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.941e-05/0.1829, allocations: 32.44 kB / 1.019 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1831, allocations: 233.6 kB / 1.019 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.1864, allocations: 7.036 MB / 1.026 GB, free: 11.04 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.1968, allocations: 3.352 MB / 1.029 GB, free: 7.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.1972, allocations: 0.5615 MB / 1.03 GB, free: 7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005338/0.1978, allocations: 218.1 kB / 1.03 GB, free: 6.781 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008821/0.1987, allocations: 0.5341 MB / 1.031 GB, free: 6.242 MB / 1.01 GB Notification: Performance of SimCode: time 1.142e-06/0.1987, allocations: 0 / 1.031 GB, free: 6.242 MB / 1.01 GB Notification: Performance of Templates: time 0.3633/0.562, allocations: 33.07 MB / 1.063 GB, free: 64.66 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.86011328548193]