Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001176/0.001176, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.000782/0.000782, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8656/0.8656, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.781/1.781, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] 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.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.068e-05/4.319e-05, allocations: 6.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6519/0.6519, allocations: 150.6 MB / 1.148 GB, free: 5.801 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004904/0.6568, allocations: 3.206 MB / 1.151 GB, free: 3.648 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.6577, allocations: 29.5 kB / 1.151 GB, free: 3.633 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.6586, allocations: 311.8 kB / 1.151 GB, free: 3.461 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.6611, allocations: 1.079 MB / 1.153 GB, free: 2.863 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.6627, allocations: 0.704 MB / 1.153 GB, free: 2.492 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.6648, allocations: 1.565 MB / 1.155 GB, free: 1.758 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006171/0.6654, allocations: 361 kB / 1.155 GB, free: 1.598 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.667, allocations: 0.9093 MB / 1.156 GB, free: 1.191 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.6681, allocations: 445.5 kB / 1.156 GB, free: 1.047 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.6682, allocations: 53.75 kB / 1.156 GB, free: 1.047 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.6697, allocations: 0.6996 MB / 1.157 GB, free: 0.793 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.67, allocations: 256.4 kB / 1.157 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.6703, allocations: 243.7 kB / 1.158 GB, free: 0.5781 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.6721, allocations: 1.158 MB / 1.159 GB, free: 188 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6721, allocations: 4 kB / 1.159 GB, free: 184 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6721, allocations: 0 / 1.159 GB, free: 184 kB / 1.01 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.6721, allocations: 1.188 kB / 1.159 GB, free: 184 kB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00123/0.6734, allocations: 0.8387 MB / 1.16 GB, free: 15.59 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6734, allocations: 10.69 kB / 1.16 GB, free: 15.59 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007669/0.6742, allocations: 188.3 kB / 1.16 GB, free: 15.54 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.6749, allocations: 463 kB / 1.16 GB, free: 15.24 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.6749, allocations: 30.97 kB / 1.16 GB, free: 15.23 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.6749, allocations: 43.78 kB / 1.16 GB, free: 15.21 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.6757, allocations: 0.7188 MB / 1.161 GB, free: 14.71 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.6757, allocations: 0.6562 kB / 1.161 GB, free: 14.71 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.6758, allocations: 21.38 kB / 1.161 GB, free: 14.7 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.6758, allocations: 15.53 kB / 1.161 GB, free: 14.7 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.6763, allocations: 414.6 kB / 1.161 GB, free: 14.56 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.6781, allocations: 1.137 MB / 1.162 GB, free: 13.96 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.6785, allocations: 289.9 kB / 1.163 GB, free: 13.83 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.6787, allocations: 171.8 kB / 1.163 GB, free: 13.77 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.6788, allocations: 23.59 kB / 1.163 GB, free: 13.76 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.6789, allocations: 38.16 kB / 1.163 GB, free: 13.72 MB / 1.026 GB Notification: Performance of pre-optimization done (n=31): time 2.255e-06/0.6789, allocations: 0 / 1.163 GB, free: 13.72 MB / 1.026 GB Notification: Performance of matching and sorting (n=33): time 0.001565/0.6804, allocations: 0.981 MB / 1.164 GB, free: 13.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.6805, allocations: 55.09 kB / 1.164 GB, free: 13.13 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.6808, allocations: 357.5 kB / 1.164 GB, free: 12.95 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.6808, allocations: 33.72 kB / 1.164 GB, free: 12.91 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.6809, allocations: 265.2 kB / 1.165 GB, free: 12.7 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.681, allocations: 122.5 kB / 1.165 GB, free: 12.6 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.6811, allocations: 74.53 kB / 1.165 GB, free: 12.55 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6812, allocations: 347.9 kB / 1.165 GB, free: 12.22 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.6814, allocations: 126.5 kB / 1.165 GB, free: 12.18 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.6816, allocations: 247 kB / 1.166 GB, free: 12.01 MB / 1.026 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.6829, allocations: 0.7894 MB / 1.166 GB, free: 11.69 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6829, allocations: 1 kB / 1.166 GB, free: 11.69 MB / 1.026 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004846/0.6834, allocations: 400.8 kB / 1.167 GB, free: 11.52 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6834, allocations: 6.938 kB / 1.167 GB, free: 11.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6834, allocations: 1.094 kB / 1.167 GB, free: 11.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6834, allocations: 7.5 kB / 1.167 GB, free: 11.52 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.6836, allocations: 71.11 kB / 1.167 GB, free: 11.51 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6836, allocations: 3.969 kB / 1.167 GB, free: 11.51 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.6838, allocations: 15.08 kB / 1.167 GB, free: 11.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.6838, allocations: 10.28 kB / 1.167 GB, free: 11.5 MB / 1.026 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.6841, allocations: 213.5 kB / 1.167 GB, free: 11.34 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.6841, allocations: 49.91 kB / 1.167 GB, free: 11.31 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/0.6842, allocations: 52.14 kB / 1.167 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6842, allocations: 6.75 kB / 1.167 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.6842, allocations: 1.094 kB / 1.167 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003822/0.6846, allocations: 416.2 kB / 1.167 GB, free: 11.01 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.6859, allocations: 1.088 MB / 1.169 GB, free: 10.35 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6859, allocations: 4.094 kB / 1.169 GB, free: 10.35 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.6861, allocations: 74.88 kB / 1.169 GB, free: 10.34 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6861, allocations: 5.531 kB / 1.169 GB, free: 10.34 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.6861, allocations: 11.23 kB / 1.169 GB, free: 10.34 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.6861, allocations: 7.25 kB / 1.169 GB, free: 10.34 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.6862, allocations: 11.7 kB / 1.169 GB, free: 10.33 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.6868, allocations: 0.68 MB / 1.169 GB, free: 9.887 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.687, allocations: 80.86 kB / 1.169 GB, free: 9.848 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.687, allocations: 18.31 kB / 1.169 GB, free: 9.84 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6872, allocations: 20.52 kB / 1.169 GB, free: 9.832 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.6872, allocations: 31.69 kB / 1.169 GB, free: 9.824 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.6873, allocations: 20.88 kB / 1.169 GB, free: 9.82 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002097/0.6875, allocations: 255.3 kB / 1.17 GB, free: 9.684 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6875, allocations: 0 / 1.17 GB, free: 9.684 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004816/0.688, allocations: 140 kB / 1.17 GB, free: 9.672 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002824/0.6883, allocations: 157.6 kB / 1.17 GB, free: 9.562 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.6887, allocations: 314.5 kB / 1.17 GB, free: 9.457 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6887, allocations: 5.562 kB / 1.17 GB, free: 9.453 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.6889, allocations: 157.1 kB / 1.17 GB, free: 9.398 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.6898, allocations: 280.2 kB / 1.171 GB, free: 9.332 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.6912, allocations: 1.075 MB / 1.172 GB, free: 8.629 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.6915, allocations: 282.6 kB / 1.172 GB, free: 8.516 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.6916, allocations: 41.34 kB / 1.172 GB, free: 8.508 MB / 1.026 GB Notification: Performance of SimCode: time 1.392e-06/0.6916, allocations: 0 / 1.172 GB, free: 8.508 MB / 1.026 GB Notification: Performance of Templates: time 0.01099/0.7026, allocations: 7.897 MB / 1.18 GB, free: 7.688 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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: 8.136460817418993]