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.001478/0.001478, allocations: 76.23 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001633/0.001633, allocations: 165.6 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.917/2.917, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1.",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.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 1 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.435e-05, allocations: 2.281 kB / 1 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6928/0.6928, allocations: 157.9 MB / 1.154 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.7068, allocations: 10.13 MB / 1.164 GB, free: 45 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.7096, allocations: 126.4 kB / 1.164 GB, free: 45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006745/0.7163, allocations: 1.91 MB / 1.166 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.7215, allocations: 1.731 MB / 1.168 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.7238, allocations: 0.8083 MB / 1.169 GB, free: 44.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.7277, allocations: 3.258 MB / 1.172 GB, free: 43.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.7288, allocations: 0.915 MB / 1.173 GB, free: 43.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.731, allocations: 1.74 MB / 1.175 GB, free: 43.58 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.7326, allocations: 0.9624 MB / 1.175 GB, free: 43.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.7328, allocations: 128.6 kB / 1.176 GB, free: 43.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.7346, allocations: 0.7828 MB / 1.176 GB, free: 43.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.7351, allocations: 0.5014 MB / 1.177 GB, free: 43.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.7361, allocations: 0.6427 MB / 1.177 GB, free: 43.17 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003595/0.7397, allocations: 3.398 MB / 1.181 GB, free: 42.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7397, allocations: 0 / 1.181 GB, free: 42.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7397, allocations: 0.7969 kB / 1.181 GB, free: 42.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.776e-05/0.7397, allocations: 2.469 kB / 1.181 GB, free: 42.77 MB / 1.076 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.003986/0.7437, allocations: 2.799 MB / 1.184 GB, free: 41.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7438, allocations: 11.33 kB / 1.184 GB, free: 41.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.7453, allocations: 391 kB / 1.184 GB, free: 41.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.7485, allocations: 1.947 MB / 1.186 GB, free: 40.63 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.7486, allocations: 57.19 kB / 1.186 GB, free: 40.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.7487, allocations: 79.44 kB / 1.186 GB, free: 40.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.7502, allocations: 1.039 MB / 1.187 GB, free: 40.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.7502, allocations: 6.062 kB / 1.187 GB, free: 40.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.7503, allocations: 32.22 kB / 1.187 GB, free: 40.35 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.7503, allocations: 28.83 kB / 1.187 GB, free: 40.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.7514, allocations: 0.694 MB / 1.188 GB, free: 40.34 MB / 1.076 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.005792/0.7572, allocations: 3.474 MB / 1.191 GB, free: 39.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.7578, allocations: 299.4 kB / 1.191 GB, free: 39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.7581, allocations: 172 kB / 1.192 GB, free: 38.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.7583, allocations: 19.92 kB / 1.192 GB, free: 38.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.7583, allocations: 41.17 kB / 1.192 GB, free: 38.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.7583, allocations: 0.8125 kB / 1.192 GB, free: 38.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=32): time 0.003296/0.7616, allocations: 1.58 MB / 1.193 GB, free: 38.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.7616, allocations: 56.73 kB / 1.193 GB, free: 38.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.7653, allocations: 2.743 MB / 1.196 GB, free: 37.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.7653, allocations: 31.05 kB / 1.196 GB, free: 37.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007603/0.7661, allocations: 1.063 MB / 1.197 GB, free: 36.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.7662, allocations: 122.3 kB / 1.197 GB, free: 36.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.7663, allocations: 106.9 kB / 1.197 GB, free: 36.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.7664, allocations: 326.4 kB / 1.198 GB, free: 36.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.7666, allocations: 167.8 kB / 1.198 GB, free: 36.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.7671, allocations: 443.3 kB / 1.198 GB, free: 35.88 MB / 1.076 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.002445/0.7695, allocations: 1.002 MB / 1.199 GB, free: 35.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7695, allocations: 2.281 kB / 1.199 GB, free: 35.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001369/0.7709, allocations: 0.7883 MB / 1.2 GB, free: 35.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.7709, allocations: 11.91 kB / 1.2 GB, free: 35.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7709, allocations: 8 kB / 1.2 GB, free: 35.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.7712, allocations: 62.81 kB / 1.2 GB, free: 35.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.7715, allocations: 103.4 kB / 1.2 GB, free: 35.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.7729, allocations: 1.733 MB / 1.202 GB, free: 33.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008822/0.7738, allocations: 27.94 kB / 1.202 GB, free: 33.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.7738, allocations: 28.83 kB / 1.202 GB, free: 33.5 MB / 1.076 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.001077/0.7749, allocations: 0.7935 MB / 1.203 GB, free: 33.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.7751, allocations: 231.1 kB / 1.203 GB, free: 33.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.7755, allocations: 238.3 kB / 1.203 GB, free: 32.94 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.7755, allocations: 3.812 kB / 1.203 GB, free: 32.94 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.7755, allocations: 0.5625 kB / 1.203 GB, free: 32.94 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005922/0.7761, allocations: 0.5929 MB / 1.204 GB, free: 32.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/0.7791, allocations: 1.797 MB / 1.205 GB, free: 31.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7791, allocations: 4.375 kB / 1.205 GB, free: 31.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.7794, allocations: 66.45 kB / 1.205 GB, free: 31.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.7796, allocations: 54.31 kB / 1.205 GB, free: 31.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.7796, allocations: 15.19 kB / 1.205 GB, free: 31.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.7808, allocations: 1.727 MB / 1.207 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.7808, allocations: 9.906 kB / 1.207 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.7818, allocations: 0.9187 MB / 1.208 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.7824, allocations: 330.6 kB / 1.208 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.7827, allocations: 11.16 kB / 1.208 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.7832, allocations: 15.3 kB / 1.208 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.7833, allocations: 34.22 kB / 1.208 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.7833, allocations: 16.92 kB / 1.208 GB, free: 29.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002775/0.7861, allocations: 1.932 MB / 1.21 GB, free: 28.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7861, allocations: 1.062 kB / 1.21 GB, free: 28.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001197/0.7873, allocations: 294.8 kB / 1.211 GB, free: 28.66 MB / 1.076 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.0003165/0.7876, allocations: 159.2 kB / 1.211 GB, free: 28.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008612/0.7885, allocations: 0.5096 MB / 1.211 GB, free: 28.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7885, allocations: 1.094 kB / 1.211 GB, free: 28.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.7889, allocations: 297.5 kB / 1.212 GB, free: 28.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.7925, allocations: 0.8564 MB / 1.212 GB, free: 27.93 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.7991, allocations: 4.077 MB / 1.216 GB, free: 26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.8008, allocations: 1.381 MB / 1.218 GB, free: 25.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00112/0.8019, allocations: 315.2 kB / 1.218 GB, free: 25.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.8022, allocations: 100.5 kB / 1.218 GB, free: 25.59 MB / 1.076 GB Notification: Performance of SimCode: time 7.12e-07/0.8022, allocations: 0 / 1.218 GB, free: 25.59 MB / 1.076 GB Notification: Performance of Templates: time 0.0491/0.8513, allocations: 28.67 MB / 1.246 GB, free: 21.65 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.43962525203824]