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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001072/0.001072, allocations: 173 kB / 23.49 MB, free: 1.059 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.9985/0.9985, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.164/2.164, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.753e-06/1.753e-06, allocations: 0.7656 kB / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.572e-05, allocations: 6.25 kB / 0.8783 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1617/0.1617, allocations: 175.6 MB / 1.05 GB, free: 6.297 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4254/0.5871, allocations: 10.99 MB / 1.061 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.589, allocations: 124.9 kB / 1.061 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.5926, allocations: 1.907 MB / 1.063 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.5954, allocations: 1.733 MB / 1.064 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.5965, allocations: 0.8107 MB / 1.065 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.5987, allocations: 3.263 MB / 1.068 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/0.5995, allocations: 0.9626 MB / 1.069 GB, free: 46.99 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.601, allocations: 1.743 MB / 1.071 GB, free: 46.8 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.6021, allocations: 0.9869 MB / 1.072 GB, free: 46.68 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.6023, allocations: 132.4 kB / 1.072 GB, free: 46.68 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008679/0.6031, allocations: 0.782 MB / 1.073 GB, free: 46.6 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.6034, allocations: 0.5053 MB / 1.073 GB, free: 46.49 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004844/0.6039, allocations: 0.6459 MB / 1.074 GB, free: 46.39 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.6056, allocations: 2.371 MB / 1.076 GB, free: 46 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6056, allocations: 0.9375 kB / 1.076 GB, free: 46 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6056, allocations: 0 / 1.076 GB, free: 46 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.6056, allocations: 0.9062 kB / 1.076 GB, free: 46 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.002181/0.6078, allocations: 3.069 MB / 1.079 GB, free: 44.48 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.6078, allocations: 8.094 kB / 1.079 GB, free: 44.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.6087, allocations: 480.5 kB / 1.08 GB, free: 44.31 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.6103, allocations: 1.774 MB / 1.081 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.6103, allocations: 57.62 kB / 1.081 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.6104, allocations: 74.41 kB / 1.081 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.611, allocations: 0.75 MB / 1.082 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.611, allocations: 6.078 kB / 1.082 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.6111, allocations: 31.12 kB / 1.082 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.6111, allocations: 28.47 kB / 1.082 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.6116, allocations: 276.1 kB / 1.083 GB, free: 43.41 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.00276/0.6143, allocations: 4.162 MB / 1.087 GB, free: 41.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.6145, allocations: 162.9 kB / 1.087 GB, free: 41.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.6146, allocations: 87.81 kB / 1.087 GB, free: 41.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.858e-05/0.6147, allocations: 20.84 kB / 1.087 GB, free: 41.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.6148, allocations: 40.61 kB / 1.087 GB, free: 41.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.6148, allocations: 0 / 1.087 GB, free: 41.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.001464/0.6162, allocations: 1.223 MB / 1.088 GB, free: 40.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.6162, allocations: 61.41 kB / 1.088 GB, free: 40.74 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.6183, allocations: 2.474 MB / 1.091 GB, free: 40.44 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.6183, allocations: 31.64 kB / 1.091 GB, free: 40.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007453/0.6191, allocations: 1.304 MB / 1.092 GB, free: 40.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.6192, allocations: 128.6 kB / 1.092 GB, free: 40.02 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.6193, allocations: 118.9 kB / 1.092 GB, free: 39.99 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.6193, allocations: 0.5017 MB / 1.093 GB, free: 39.51 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.6194, allocations: 58.02 kB / 1.093 GB, free: 39.51 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.6196, allocations: 434.5 kB / 1.093 GB, free: 39.07 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.0005525/0.6202, allocations: 0.5527 MB / 1.094 GB, free: 38.74 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6202, allocations: 2.031 kB / 1.094 GB, free: 38.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006282/0.6208, allocations: 0.6077 MB / 1.094 GB, free: 38.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6208, allocations: 9.781 kB / 1.094 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6208, allocations: 8.375 kB / 1.094 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.621, allocations: 49.14 kB / 1.094 GB, free: 38.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.6212, allocations: 101.1 kB / 1.094 GB, free: 38.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00074/0.6219, allocations: 2.117 MB / 1.096 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.6223, allocations: 30.3 kB / 1.096 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.6223, allocations: 22.88 kB / 1.096 GB, free: 36.6 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.0002304/0.6225, allocations: 190.6 kB / 1.097 GB, free: 36.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.6227, allocations: 239.6 kB / 1.097 GB, free: 36.31 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.6229, allocations: 202 kB / 1.097 GB, free: 36.28 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6229, allocations: 5.094 kB / 1.097 GB, free: 36.28 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6229, allocations: 4.312 kB / 1.097 GB, free: 36.28 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002935/0.6232, allocations: 451.7 kB / 1.098 GB, free: 35.91 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.6251, allocations: 2.063 MB / 1.1 GB, free: 35.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.6251, allocations: 7.453 kB / 1.1 GB, free: 35.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.6253, allocations: 65.89 kB / 1.1 GB, free: 35.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.224e-05/0.6254, allocations: 43.72 kB / 1.1 GB, free: 35.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.6254, allocations: 9.969 kB / 1.1 GB, free: 35.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006474/0.626, allocations: 2.113 MB / 1.102 GB, free: 33.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.626, allocations: 3.406 kB / 1.102 GB, free: 33.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.6266, allocations: 0.7645 MB / 1.102 GB, free: 32.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.6269, allocations: 309.6 kB / 1.103 GB, free: 32.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.6271, allocations: 10.25 kB / 1.103 GB, free: 32.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.6274, allocations: 20.95 kB / 1.103 GB, free: 32.82 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.6274, allocations: 28.69 kB / 1.103 GB, free: 32.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.6274, allocations: 18.27 kB / 1.103 GB, free: 32.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001237/0.6287, allocations: 1.311 MB / 1.104 GB, free: 32.63 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6287, allocations: 0 / 1.104 GB, free: 32.63 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006408/0.6293, allocations: 299.4 kB / 1.104 GB, free: 32.63 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.0002192/0.6295, allocations: 169.3 kB / 1.105 GB, free: 32.54 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.63, allocations: 437 kB / 1.105 GB, free: 32.35 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.63, allocations: 1.281 kB / 1.105 GB, free: 32.35 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.6302, allocations: 293.9 kB / 1.105 GB, free: 32.16 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.6321, allocations: 0.8684 MB / 1.106 GB, free: 32.06 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.6358, allocations: 3.44 MB / 1.109 GB, free: 30.45 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.6363, allocations: 0.6404 MB / 1.11 GB, free: 30.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006165/0.6369, allocations: 250.2 kB / 1.11 GB, free: 30.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.6371, allocations: 96.78 kB / 1.11 GB, free: 30.29 MB / 1.01 GB Notification: Performance of SimCode: time 8.41e-07/0.6371, allocations: 0 / 1.11 GB, free: 30.29 MB / 1.01 GB Notification: Performance of Templates: time 0.0338/0.6709, allocations: 28.81 MB / 1.139 GB, free: 27.31 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.39660278102383]