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.001869/0.001869, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00233/0.00233, allocations: 209.2 kB / 22.24 MB, free: 5.262 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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 3.255/3.255, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 64.97 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 181.9 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1956/0.5187, allocations: 158 MB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.5351, allocations: 10.16 MB / 1.528 GB, free: 4.742 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.5372, allocations: 131 kB / 1.528 GB, free: 4.613 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005184/0.5423, allocations: 1.877 MB / 1.53 GB, free: 2.727 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004138/0.5465, allocations: 1.678 MB / 1.532 GB, free: 1.039 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.5485, allocations: 0.807 MB / 1.533 GB, free: 240 kB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004109/0.5526, allocations: 3.168 MB / 1.536 GB, free: 13.06 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.554, allocations: 0.9612 MB / 1.537 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.5561, allocations: 1.338 MB / 1.538 GB, free: 10.72 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.5582, allocations: 1.131 MB / 1.539 GB, free: 9.59 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.5584, allocations: 128 kB / 1.539 GB, free: 9.465 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5601, allocations: 0.7755 MB / 1.54 GB, free: 8.688 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.5607, allocations: 493.9 kB / 1.54 GB, free: 8.203 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009503/0.5616, allocations: 0.8273 MB / 1.541 GB, free: 7.371 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004281/0.5659, allocations: 3.49 MB / 1.545 GB, free: 3.867 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5659, allocations: 4 kB / 1.545 GB, free: 3.863 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5659, allocations: 0 / 1.545 GB, free: 3.863 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.067e-05/0.566, allocations: 0 / 1.545 GB, free: 3.863 MB / 1.232 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.004355/0.5703, allocations: 2.83 MB / 1.547 GB, free: 0.9844 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5703, allocations: 12.03 kB / 1.547 GB, free: 0.9727 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.5718, allocations: 386 kB / 1.548 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.5753, allocations: 1.951 MB / 1.55 GB, free: 14.59 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.5754, allocations: 58 kB / 1.55 GB, free: 14.53 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.5755, allocations: 76 kB / 1.55 GB, free: 14.45 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.5771, allocations: 1.033 MB / 1.551 GB, free: 13.35 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.5771, allocations: 8 kB / 1.551 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.5772, allocations: 39.97 kB / 1.551 GB, free: 13.3 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.5772, allocations: 32.92 kB / 1.551 GB, free: 13.27 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5784, allocations: 0.6947 MB / 1.551 GB, free: 12.58 MB / 1.248 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.005416/0.5838, allocations: 3.474 MB / 1.555 GB, free: 9.027 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.5844, allocations: 301.5 kB / 1.555 GB, free: 8.727 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.5847, allocations: 168.8 kB / 1.555 GB, free: 8.559 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.5849, allocations: 23.92 kB / 1.555 GB, free: 8.535 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.5849, allocations: 38.56 kB / 1.555 GB, free: 8.488 MB / 1.248 GB Notification: Performance of pre-optimization done (n=30): time 2.816e-06/0.5849, allocations: 0 / 1.555 GB, free: 8.488 MB / 1.248 GB Notification: Performance of matching and sorting (n=32): time 0.003457/0.5884, allocations: 1.576 MB / 1.557 GB, free: 6.867 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.5884, allocations: 55.41 kB / 1.557 GB, free: 6.801 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/0.5924, allocations: 2.745 MB / 1.56 GB, free: 4.043 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.5924, allocations: 37.64 kB / 1.56 GB, free: 4 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.5935, allocations: 1.054 MB / 1.561 GB, free: 2.938 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.5936, allocations: 130.9 kB / 1.561 GB, free: 2.809 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.5938, allocations: 114.2 kB / 1.561 GB, free: 2.688 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5939, allocations: 330 kB / 1.561 GB, free: 2.359 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.5942, allocations: 161.1 kB / 1.561 GB, free: 2.199 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.5947, allocations: 447.5 kB / 1.562 GB, free: 1.66 MB / 1.248 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.002204/0.5969, allocations: 0.9968 MB / 1.563 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.5969, allocations: 4 kB / 1.563 GB, free: 0.5742 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00128/0.5982, allocations: 0.7905 MB / 1.564 GB, free: 15.77 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5982, allocations: 17.95 kB / 1.564 GB, free: 15.76 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5982, allocations: 8.031 kB / 1.564 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.5984, allocations: 60.77 kB / 1.564 GB, free: 15.69 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.5988, allocations: 103.8 kB / 1.564 GB, free: 15.59 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.6006, allocations: 1.727 MB / 1.565 GB, free: 13.76 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.6013, allocations: 27.94 kB / 1.565 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.6014, allocations: 28.06 kB / 1.566 GB, free: 13.71 MB / 1.264 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.001124/0.6025, allocations: 0.7978 MB / 1.566 GB, free: 12.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.6028, allocations: 226.5 kB / 1.567 GB, free: 12.68 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.6031, allocations: 238.2 kB / 1.567 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6031, allocations: 4 kB / 1.567 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.6031, allocations: 4 kB / 1.567 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000753/0.6039, allocations: 0.5977 MB / 1.567 GB, free: 11.76 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.6069, allocations: 1.784 MB / 1.569 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.607, allocations: 4 kB / 1.569 GB, free: 9.891 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.6073, allocations: 64.31 kB / 1.569 GB, free: 9.828 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.6074, allocations: 64.7 kB / 1.569 GB, free: 9.762 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.6075, allocations: 12 kB / 1.569 GB, free: 9.75 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.6091, allocations: 1.723 MB / 1.571 GB, free: 7.922 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.6091, allocations: 7.938 kB / 1.571 GB, free: 7.914 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.6104, allocations: 0.9233 MB / 1.572 GB, free: 6.934 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/0.6111, allocations: 335.5 kB / 1.572 GB, free: 6.605 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.6113, allocations: 12 kB / 1.572 GB, free: 6.594 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.6119, allocations: 15.98 kB / 1.572 GB, free: 6.578 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.612, allocations: 31.84 kB / 1.572 GB, free: 6.547 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.612, allocations: 23.92 kB / 1.572 GB, free: 6.523 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003061/0.615, allocations: 1.93 MB / 1.574 GB, free: 4.586 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.615, allocations: 0 / 1.574 GB, free: 4.586 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001064/0.6161, allocations: 296 kB / 1.574 GB, free: 4.297 MB / 1.264 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.0002969/0.6164, allocations: 161.8 kB / 1.575 GB, free: 4.133 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009261/0.6173, allocations: 0.5075 MB / 1.575 GB, free: 3.613 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6173, allocations: 0 / 1.575 GB, free: 3.613 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.6178, allocations: 300.8 kB / 1.575 GB, free: 3.309 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.621, allocations: 0.8645 MB / 1.576 GB, free: 2.465 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.6272, allocations: 4.182 MB / 1.58 GB, free: 14.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.6288, allocations: 1.384 MB / 1.582 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009244/0.6297, allocations: 317.3 kB / 1.582 GB, free: 12.45 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.6299, allocations: 91.44 kB / 1.582 GB, free: 12.36 MB / 1.279 GB Notification: Performance of SimCode: time 5.81e-07/0.6299, allocations: 4 kB / 1.582 GB, free: 12.36 MB / 1.279 GB Notification: Performance of Templates: time 0.641/1.271, allocations: 31.88 MB / 1.613 GB, free: 243.2 MB / 1.295 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: 10.132022198289633]