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.000909/0.000909, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000921/0.000921, allocations: 161 kB / 23.82 MB, free: 0.75 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.919/0.919, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.906/1.906, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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 2.174e-06/2.174e-06, allocations: 0 / 0.8116 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.169e-05/4.386e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1436/0.1437, allocations: 156.4 MB / 0.9644 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.1558, allocations: 10.39 MB / 0.9746 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.1577, allocations: 127 kB / 0.9747 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.1614, allocations: 1.802 MB / 0.9764 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.1649, allocations: 1.378 MB / 0.9778 GB, free: 6.906 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.1667, allocations: 0.7792 MB / 0.9785 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.1697, allocations: 3.235 MB / 0.9817 GB, free: 2.883 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000949/0.1706, allocations: 0.9968 MB / 0.9827 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.172, allocations: 1.589 MB / 0.9842 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.1732, allocations: 0.9804 MB / 0.9852 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.1734, allocations: 128 kB / 0.9853 GB, free: 15.17 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.1741, allocations: 0.5143 MB / 0.9858 GB, free: 14.65 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.1744, allocations: 0.5057 MB / 0.9863 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.1749, allocations: 0.6467 MB / 0.9869 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.1768, allocations: 2.23 MB / 0.9891 GB, free: 11.26 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1768, allocations: 0 / 0.9891 GB, free: 11.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1768, allocations: 0 / 0.9891 GB, free: 11.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.1768, allocations: 0 / 0.9891 GB, free: 11.26 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.002585/0.1794, allocations: 3.052 MB / 0.9921 GB, free: 8.156 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1794, allocations: 12.03 kB / 0.9921 GB, free: 8.145 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009304/0.1803, allocations: 469.9 kB / 0.9926 GB, free: 7.684 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.1822, allocations: 1.778 MB / 0.9943 GB, free: 5.844 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.1822, allocations: 65.92 kB / 0.9944 GB, free: 5.781 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.1823, allocations: 76 kB / 0.9944 GB, free: 5.707 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.1831, allocations: 0.7502 MB / 0.9952 GB, free: 4.875 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.1831, allocations: 4 kB / 0.9952 GB, free: 4.871 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.1832, allocations: 32 kB / 0.9952 GB, free: 4.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.1832, allocations: 25 kB / 0.9952 GB, free: 4.816 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.1837, allocations: 281.5 kB / 0.9955 GB, free: 4.543 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.003445/0.1871, allocations: 4.157 MB / 0.9995 GB, free: 296 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1874, allocations: 155.8 kB / 0.9997 GB, free: 128 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1875, allocations: 83.64 kB / 0.9998 GB, free: 40 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.1876, allocations: 19.98 kB / 0.9998 GB, free: 20 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.1876, allocations: 45.83 kB / 0.9998 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/0.1876, allocations: 0 / 0.9998 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32): time 0.001652/0.1893, allocations: 1.223 MB / 1.001 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.1893, allocations: 55.41 kB / 1.001 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.1915, allocations: 2.483 MB / 1.004 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1915, allocations: 41.64 kB / 1.004 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008137/0.1923, allocations: 1.303 MB / 1.005 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.1924, allocations: 123 kB / 1.005 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1925, allocations: 119.9 kB / 1.005 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1926, allocations: 0.5043 MB / 1.006 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1927, allocations: 61.11 kB / 1.006 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.193, allocations: 429.5 kB / 1.006 GB, free: 9.402 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.0005924/0.1936, allocations: 0.5597 MB / 1.007 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1936, allocations: 0 / 1.007 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006448/0.1942, allocations: 0.6019 MB / 1.007 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1942, allocations: 8 kB / 1.007 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1942, allocations: 8 kB / 1.007 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.1944, allocations: 39.67 kB / 1.007 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1946, allocations: 103.8 kB / 1.007 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.1957, allocations: 2.126 MB / 1.009 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.196, allocations: 25.83 kB / 1.009 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.1961, allocations: 27.98 kB / 1.009 GB, free: 5.656 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.0002468/0.1963, allocations: 192.3 kB / 1.01 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.1965, allocations: 238.5 kB / 1.01 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.1966, allocations: 202.2 kB / 1.01 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1966, allocations: 4 kB / 1.01 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1966, allocations: 0 / 1.01 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003397/0.197, allocations: 458.5 kB / 1.01 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.199, allocations: 2.055 MB / 1.012 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.199, allocations: 4 kB / 1.012 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.1991, allocations: 67.91 kB / 1.013 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.2e-05/0.1992, allocations: 39.66 kB / 1.013 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1993, allocations: 16 kB / 1.013 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009103/0.2002, allocations: 2.115 MB / 1.015 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2002, allocations: 4 kB / 1.015 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.2008, allocations: 0.7688 MB / 1.015 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.2011, allocations: 307.5 kB / 1.016 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/0.2012, allocations: 15.98 kB / 1.016 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.2015, allocations: 18.91 kB / 1.016 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.2015, allocations: 35.83 kB / 1.016 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2015, allocations: 12 kB / 1.016 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001244/0.2028, allocations: 1.314 MB / 1.017 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.2028, allocations: 0 / 1.017 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006123/0.2034, allocations: 304 kB / 1.017 GB, free: 13.13 MB / 0.9792 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.0002369/0.2036, allocations: 147.1 kB / 1.018 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.2041, allocations: 435.4 kB / 1.018 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2041, allocations: 4 kB / 1.018 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2043, allocations: 293.7 kB / 1.018 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.2061, allocations: 0.8783 MB / 1.019 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.2097, allocations: 3.44 MB / 1.022 GB, free: 7.816 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.2101, allocations: 0.6434 MB / 1.023 GB, free: 7.145 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005066/0.2106, allocations: 249.3 kB / 1.023 GB, free: 6.895 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2108, allocations: 96.5 kB / 1.023 GB, free: 6.801 MB / 0.9792 GB Notification: Performance of SimCode: time 1.222e-06/0.2108, allocations: 0 / 1.023 GB, free: 6.801 MB / 0.9792 GB Notification: Performance of Templates: time 0.3612/0.572, allocations: 28.66 MB / 1.051 GB, free: 113.3 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.9309405838139355]