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.0008941/0.0008941, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009199/0.0009199, allocations: 169 kB / 24.27 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.9288/0.9288, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.825/1.825, allocations: 377.8 MB / 0.6239 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 1.303e-06/1.303e-06, allocations: 0 / 0.8116 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.264e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1524/0.1524, allocations: 175.7 MB / 0.9832 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.165, allocations: 11.01 MB / 0.9939 GB, free: 6.699 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.1673, allocations: 127 kB / 0.994 GB, free: 6.574 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.1713, allocations: 1.915 MB / 0.9959 GB, free: 4.648 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.1745, allocations: 1.728 MB / 0.9976 GB, free: 2.91 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.176, allocations: 0.8102 MB / 0.9984 GB, free: 2.098 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002904/0.1789, allocations: 3.276 MB / 1.002 GB, free: 14.81 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009942/0.1799, allocations: 0.9929 MB / 1.003 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.1816, allocations: 1.741 MB / 1.004 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.1829, allocations: 0.9874 MB / 1.005 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.183, allocations: 128 kB / 1.005 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1841, allocations: 0.7947 MB / 1.006 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.1845, allocations: 0.5057 MB / 1.007 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.185, allocations: 0.6428 MB / 1.007 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.1871, allocations: 2.37 MB / 1.01 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1871, allocations: 0 / 1.01 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1871, allocations: 0 / 1.01 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.1871, allocations: 3.984 kB / 1.01 GB, free: 6.605 MB / 0.9636 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.002579/0.1897, allocations: 3.071 MB / 1.013 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1897, allocations: 8.031 kB / 1.013 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009807/0.1907, allocations: 473.8 kB / 1.013 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.1925, allocations: 1.79 MB / 1.015 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.1925, allocations: 54 kB / 1.015 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.1926, allocations: 80 kB / 1.015 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.1934, allocations: 0.7501 MB / 1.016 GB, free: 208 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1934, allocations: 4 kB / 1.016 GB, free: 204 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.1935, allocations: 32 kB / 1.016 GB, free: 172 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.1935, allocations: 25 kB / 1.016 GB, free: 148 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.194, allocations: 285.6 kB / 1.016 GB, free: 15.87 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.003312/0.1973, allocations: 4.145 MB / 1.02 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1975, allocations: 163.2 kB / 1.02 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.1976, allocations: 86.17 kB / 1.02 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.787e-05/0.1977, allocations: 19.98 kB / 1.02 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1978, allocations: 41.89 kB / 1.02 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/0.1978, allocations: 4 kB / 1.02 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of matching and sorting (n=32): time 0.001668/0.1994, allocations: 1.229 MB / 1.022 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.1995, allocations: 55.41 kB / 1.022 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.2016, allocations: 2.475 MB / 1.024 GB, free: 7.457 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.2016, allocations: 37.7 kB / 1.024 GB, free: 7.414 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008261/0.2024, allocations: 1.299 MB / 1.025 GB, free: 6.105 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.2025, allocations: 119.1 kB / 1.025 GB, free: 5.988 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2026, allocations: 119.9 kB / 1.026 GB, free: 5.863 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2027, allocations: 0.5043 MB / 1.026 GB, free: 5.352 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2029, allocations: 65.05 kB / 1.026 GB, free: 5.289 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.2031, allocations: 423.3 kB / 1.026 GB, free: 4.738 MB / 0.9792 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.0005872/0.2037, allocations: 0.5635 MB / 1.027 GB, free: 4.059 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2037, allocations: 0 / 1.027 GB, free: 4.059 MB / 0.9792 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006155/0.2043, allocations: 0.6017 MB / 1.028 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2043, allocations: 13.86 kB / 1.028 GB, free: 3.434 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2043, allocations: 4 kB / 1.028 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.2045, allocations: 48.14 kB / 1.028 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.2047, allocations: 103.8 kB / 1.028 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2057, allocations: 2.122 MB / 1.03 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.2061, allocations: 27.89 kB / 1.03 GB, free: 1.012 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.2061, allocations: 27.98 kB / 1.03 GB, free: 0.9844 MB / 0.9792 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.0002564/0.2064, allocations: 199.4 kB / 1.03 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.2066, allocations: 238.4 kB / 1.03 GB, free: 0.5469 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.2067, allocations: 194.2 kB / 1.03 GB, free: 364 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2067, allocations: 4 kB / 1.031 GB, free: 360 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2067, allocations: 0 / 1.031 GB, free: 360 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003599/0.2071, allocations: 458.5 kB / 1.031 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.2091, allocations: 2.067 MB / 1.033 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2091, allocations: 0 / 1.033 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.2092, allocations: 63.91 kB / 1.033 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.8e-05/0.2093, allocations: 40.08 kB / 1.033 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.2094, allocations: 15.98 kB / 1.033 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00092/0.2103, allocations: 2.118 MB / 1.035 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2103, allocations: 4 kB / 1.035 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.2109, allocations: 0.7685 MB / 1.036 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.2112, allocations: 315.5 kB / 1.036 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2113, allocations: 11.98 kB / 1.036 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.2116, allocations: 12 kB / 1.036 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.2117, allocations: 35.83 kB / 1.036 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.2117, allocations: 16 kB / 1.036 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001284/0.213, allocations: 1.314 MB / 1.038 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.213, allocations: 0 / 1.038 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006459/0.2136, allocations: 300 kB / 1.038 GB, free: 8.461 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 (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.0002553/0.2139, allocations: 163.1 kB / 1.038 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.2144, allocations: 439.1 kB / 1.038 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2144, allocations: 448 / 1.038 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2146, allocations: 297.2 kB / 1.039 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.2165, allocations: 0.8688 MB / 1.04 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.2203, allocations: 3.431 MB / 1.043 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.2208, allocations: 0.6394 MB / 1.044 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005922/0.2214, allocations: 249.3 kB / 1.044 GB, free: 2.215 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2215, allocations: 96.5 kB / 1.044 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of SimCode: time 1.804e-06/0.2215, allocations: 0 / 1.044 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of Templates: time 0.3056/0.5271, allocations: 28.86 MB / 1.072 GB, free: 272 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.71148012811318]