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.0009411/0.0009411, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009986/0.0009986, allocations: 177 kB / 23.36 MB, free: 1.133 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.9453/0.9453, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.272/2.272, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.734e-06/1.734e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.157e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1568/0.1568, allocations: 155.4 MB / 0.9905 GB, free: 2.07 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.1695, allocations: 10.53 MB / 1.001 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.1712, allocations: 127 kB / 1.001 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.1744, allocations: 1.845 MB / 1.003 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.1766, allocations: 1.389 MB / 1.004 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1779, allocations: 0.7714 MB / 1.005 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.1806, allocations: 3.211 MB / 1.008 GB, free: 140 kB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.1818, allocations: 0.987 MB / 1.009 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.1841, allocations: 1.735 MB / 1.011 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.1851, allocations: 0.9075 MB / 1.011 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.1853, allocations: 124 kB / 1.012 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.186, allocations: 431 kB / 1.012 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.1863, allocations: 498 kB / 1.012 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.1868, allocations: 0.6467 MB / 1.013 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.1886, allocations: 2.179 MB / 1.015 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1886, allocations: 0 / 1.015 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1886, allocations: 0 / 1.015 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.382e-05/0.1887, allocations: 3.938 kB / 1.015 GB, free: 8.621 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.002158/0.1908, allocations: 2.606 MB / 1.018 GB, free: 5.973 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1909, allocations: 8.625 kB / 1.018 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/0.1917, allocations: 343.6 kB / 1.018 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.1935, allocations: 1.696 MB / 1.02 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.1935, allocations: 57.98 kB / 1.02 GB, free: 3.793 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.551e-05/0.1936, allocations: 79.98 kB / 1.02 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.1942, allocations: 0.6845 MB / 1.021 GB, free: 2.961 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1942, allocations: 3.938 kB / 1.021 GB, free: 2.957 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.1942, allocations: 32 kB / 1.021 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.1943, allocations: 29 kB / 1.021 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.1946, allocations: 217.6 kB / 1.021 GB, free: 2.68 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.002211/0.1968, allocations: 2.598 MB / 1.023 GB, free: 12 kB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.197, allocations: 194.7 kB / 1.024 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.197, allocations: 59.66 kB / 1.024 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/0.1971, allocations: 27.98 kB / 1.024 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1971, allocations: 34.56 kB / 1.024 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.1971, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.001142/0.1983, allocations: 0.6906 MB / 1.024 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.1983, allocations: 55.41 kB / 1.024 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.1995, allocations: 1.735 MB / 1.026 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.1995, allocations: 29.7 kB / 1.026 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.1999, allocations: 0.6516 MB / 1.027 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.1999, allocations: 123 kB / 1.027 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2, allocations: 130.1 kB / 1.027 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.2001, allocations: 333.9 kB / 1.027 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.2002, allocations: 68.11 kB / 1.027 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.2004, allocations: 397.4 kB / 1.028 GB, free: 11.24 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.0004822/0.2009, allocations: 0.5885 MB / 1.028 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2009, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004726/0.2014, allocations: 0.4994 MB / 1.029 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2014, allocations: 11.98 kB / 1.029 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2014, allocations: 8 kB / 1.029 GB, free: 9.992 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.2015, allocations: 40.84 kB / 1.029 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2018, allocations: 131.8 kB / 1.029 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007284/0.2025, allocations: 1.423 MB / 1.03 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.2028, allocations: 36 kB / 1.03 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.2029, allocations: 32 kB / 1.03 GB, free: 8.25 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.0002291/0.2031, allocations: 160.4 kB / 1.031 GB, free: 8.082 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.2032, allocations: 135.8 kB / 1.031 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.2034, allocations: 198.6 kB / 1.031 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2034, allocations: 4 kB / 1.031 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2034, allocations: 4.031 kB / 1.031 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002352/0.2036, allocations: 383.5 kB / 1.031 GB, free: 7.297 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.2051, allocations: 1.663 MB / 1.033 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2051, allocations: 4 kB / 1.033 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.2053, allocations: 59.91 kB / 1.033 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/0.2053, allocations: 32.84 kB / 1.033 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2053, allocations: 8 kB / 1.033 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006479/0.206, allocations: 1.426 MB / 1.034 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.206, allocations: 4 kB / 1.034 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.2064, allocations: 0.5681 MB / 1.035 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.2067, allocations: 251.5 kB / 1.035 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2068, allocations: 8 kB / 1.035 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.2071, allocations: 15.94 kB / 1.035 GB, free: 3.027 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.2071, allocations: 31.89 kB / 1.035 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2071, allocations: 16.06 kB / 1.035 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007186/0.2078, allocations: 0.9109 MB / 1.036 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2078, allocations: 0 / 1.036 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005892/0.2084, allocations: 315.9 kB / 1.036 GB, free: 1.754 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.0001825/0.2086, allocations: 116.2 kB / 1.037 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.209, allocations: 383 kB / 1.037 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/0.209, allocations: 24.69 kB / 1.037 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2092, allocations: 227.1 kB / 1.037 GB, free: 0.9805 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.2108, allocations: 0.878 MB / 1.038 GB, free: 128 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.214, allocations: 3.316 MB / 1.041 GB, free: 12.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.2144, allocations: 0.5578 MB / 1.042 GB, free: 12.12 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004083/0.2148, allocations: 222.1 kB / 1.042 GB, free: 11.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008712/0.2157, allocations: 0.5341 MB / 1.043 GB, free: 11.36 MB / 1.01 GB Notification: Performance of SimCode: time 8.21e-07/0.2157, allocations: 3.938 kB / 1.043 GB, free: 11.36 MB / 1.01 GB Notification: Performance of Templates: time 0.4455/0.6612, allocations: 31.22 MB / 1.073 GB, free: 59.41 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.1340901418589056]