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.0009784/0.0009784, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009923/0.0009923, allocations: 169 kB / 23.02 MB, free: 1.547 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.9106/0.9106, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.129/2.129, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.693e-06/1.693e-06, allocations: 0 / 0.8783 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.274e-05, allocations: 2.969 kB / 0.8783 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1374/0.1374, allocations: 156.4 MB / 1.031 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1498, allocations: 10.38 MB / 1.041 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.1516, allocations: 127 kB / 1.041 GB, free: 14.69 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.1551, allocations: 1.798 MB / 1.043 GB, free: 12.88 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.1574, allocations: 1.385 MB / 1.044 GB, free: 11.49 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1587, allocations: 0.7676 MB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002829/0.1616, allocations: 3.223 MB / 1.048 GB, free: 7.492 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000972/0.1625, allocations: 0.9715 MB / 1.049 GB, free: 6.492 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.164, allocations: 1.589 MB / 1.051 GB, free: 4.898 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.1653, allocations: 0.9913 MB / 1.052 GB, free: 3.922 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1655, allocations: 124 kB / 1.052 GB, free: 3.801 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007818/0.1663, allocations: 0.5067 MB / 1.052 GB, free: 3.293 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.1666, allocations: 0.5018 MB / 1.053 GB, free: 2.789 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008578/0.1675, allocations: 0.6467 MB / 1.054 GB, free: 2.141 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4099/0.5774, allocations: 2.226 MB / 1.056 GB, free: 54.72 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5774, allocations: 0 / 1.056 GB, free: 54.72 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5774, allocations: 0 / 1.056 GB, free: 54.72 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001216/0.5775, allocations: 2.906 kB / 1.056 GB, free: 54.72 MB / 1.01 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.003312/0.5809, allocations: 3.049 MB / 1.059 GB, free: 53.33 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5809, allocations: 10.94 kB / 1.059 GB, free: 53.33 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.582, allocations: 468.3 kB / 1.059 GB, free: 53.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.5841, allocations: 1.779 MB / 1.061 GB, free: 52.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.5841, allocations: 63.28 kB / 1.061 GB, free: 52.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.5842, allocations: 82.72 kB / 1.061 GB, free: 52.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.585, allocations: 0.7439 MB / 1.062 GB, free: 52.28 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.585, allocations: 3.875 kB / 1.062 GB, free: 52.28 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.5851, allocations: 29.59 kB / 1.062 GB, free: 52.28 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.5851, allocations: 29.47 kB / 1.062 GB, free: 52.28 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.5856, allocations: 281.3 kB / 1.062 GB, free: 52.28 MB / 1.01 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.003402/0.589, allocations: 4.146 MB / 1.066 GB, free: 50.4 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.5892, allocations: 166.1 kB / 1.066 GB, free: 50.37 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.5894, allocations: 82.19 kB / 1.066 GB, free: 50.36 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.5895, allocations: 24.92 kB / 1.066 GB, free: 50.35 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.5895, allocations: 39.3 kB / 1.066 GB, free: 50.31 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 2.434e-06/0.5895, allocations: 2.969 kB / 1.066 GB, free: 50.31 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.001858/0.5914, allocations: 1.213 MB / 1.068 GB, free: 49.68 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.5914, allocations: 54.44 kB / 1.068 GB, free: 49.62 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.5936, allocations: 2.487 MB / 1.07 GB, free: 49.32 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.5937, allocations: 32.64 kB / 1.07 GB, free: 49.29 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007098/0.5944, allocations: 1.306 MB / 1.071 GB, free: 48.97 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.5944, allocations: 118 kB / 1.071 GB, free: 48.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.5945, allocations: 125.3 kB / 1.072 GB, free: 48.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.5946, allocations: 0.5023 MB / 1.072 GB, free: 48.38 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5947, allocations: 58.27 kB / 1.072 GB, free: 48.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.5949, allocations: 429.3 kB / 1.073 GB, free: 47.95 MB / 1.01 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.0005462/0.5954, allocations: 0.563 MB / 1.073 GB, free: 47.61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5954, allocations: 2.781 kB / 1.073 GB, free: 47.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006821/0.5961, allocations: 0.602 MB / 1.074 GB, free: 47.44 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5961, allocations: 5.562 kB / 1.074 GB, free: 47.44 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5962, allocations: 8.188 kB / 1.074 GB, free: 47.44 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.5963, allocations: 50.83 kB / 1.074 GB, free: 47.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.5965, allocations: 103.3 kB / 1.074 GB, free: 47.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000836/0.5974, allocations: 2.124 MB / 1.076 GB, free: 45.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.5978, allocations: 23.58 kB / 1.076 GB, free: 45.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.5978, allocations: 22.84 kB / 1.076 GB, free: 45.47 MB / 1.01 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.000241/0.5981, allocations: 194.5 kB / 1.076 GB, free: 45.31 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5982, allocations: 249 kB / 1.076 GB, free: 45.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.5984, allocations: 192.4 kB / 1.077 GB, free: 45.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5984, allocations: 6.688 kB / 1.077 GB, free: 45.14 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5984, allocations: 2.75 kB / 1.077 GB, free: 45.14 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000288/0.5987, allocations: 452.5 kB / 1.077 GB, free: 44.79 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.6006, allocations: 2.058 MB / 1.079 GB, free: 44.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6006, allocations: 3.594 kB / 1.079 GB, free: 44.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.6007, allocations: 68.11 kB / 1.079 GB, free: 44.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-05/0.6008, allocations: 41.12 kB / 1.079 GB, free: 44.28 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6009, allocations: 10.84 kB / 1.079 GB, free: 44.28 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006669/0.6015, allocations: 2.117 MB / 1.081 GB, free: 42.32 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6015, allocations: 3.094 kB / 1.081 GB, free: 42.32 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.6021, allocations: 0.7632 MB / 1.082 GB, free: 41.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.6025, allocations: 304.5 kB / 1.082 GB, free: 41.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6026, allocations: 12.66 kB / 1.082 GB, free: 41.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.6029, allocations: 17.25 kB / 1.082 GB, free: 41.69 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.6029, allocations: 31.53 kB / 1.082 GB, free: 41.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.6029, allocations: 20.05 kB / 1.082 GB, free: 41.69 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001221/0.6041, allocations: 1.315 MB / 1.084 GB, free: 41.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6041, allocations: 0 / 1.084 GB, free: 41.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00071/0.6049, allocations: 305.2 kB / 1.084 GB, free: 41.5 MB / 1.01 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.0002329/0.6051, allocations: 147.2 kB / 1.084 GB, free: 41.41 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.6056, allocations: 443.3 kB / 1.084 GB, free: 41.22 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6056, allocations: 2.469 kB / 1.084 GB, free: 41.22 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.6058, allocations: 301.2 kB / 1.085 GB, free: 41.03 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.6077, allocations: 0.8486 MB / 1.086 GB, free: 40.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.6115, allocations: 3.435 MB / 1.089 GB, free: 39.36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.612, allocations: 0.6397 MB / 1.09 GB, free: 39.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006302/0.6126, allocations: 246.8 kB / 1.09 GB, free: 39.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.6127, allocations: 97.34 kB / 1.09 GB, free: 39.21 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.6127, allocations: 1.859 kB / 1.09 GB, free: 39.21 MB / 1.01 GB Notification: Performance of Templates: time 0.04009/0.6528, allocations: 28.6 MB / 1.118 GB, free: 36.35 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.266860116738826]