Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001643/0.001643, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002043/0.002043, allocations: 221.8 kB / 22.26 MB, free: 5.125 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.142/3.142, allocations: 0.49 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [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.002015/0.002015, allocations: 68.03 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2051/0.5556, allocations: 174.5 MB / 1.497 GB, free: 2.297 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006104/0.5617, allocations: 3.417 MB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.5625, allocations: 35.69 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.5635, allocations: 342 kB / 1.5 GB, free: 14.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.5663, allocations: 1.062 MB / 1.501 GB, free: 13.44 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.5682, allocations: 0.6964 MB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.5705, allocations: 1.584 MB / 1.504 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.5712, allocations: 374.5 kB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.5728, allocations: 0.7396 MB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.5742, allocations: 0.4903 MB / 1.505 GB, free: 9.551 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.5743, allocations: 56 kB / 1.505 GB, free: 9.496 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.5762, allocations: 0.8924 MB / 1.506 GB, free: 8.602 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.5765, allocations: 247.2 kB / 1.506 GB, free: 8.359 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005444/0.577, allocations: 334.6 kB / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.579, allocations: 1.137 MB / 1.508 GB, free: 6.891 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.579, allocations: 0 / 1.508 GB, free: 6.891 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5791, allocations: 0 / 1.508 GB, free: 6.891 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.5791, allocations: 4 kB / 1.508 GB, free: 6.887 MB / 1.201 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.001623/0.5807, allocations: 0.8587 MB / 1.509 GB, free: 5.996 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5807, allocations: 8.031 kB / 1.509 GB, free: 5.988 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5819, allocations: 179.5 kB / 1.509 GB, free: 5.812 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009002/0.5828, allocations: 470.5 kB / 1.509 GB, free: 5.324 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.5828, allocations: 33 kB / 1.509 GB, free: 5.293 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.5829, allocations: 47.94 kB / 1.509 GB, free: 5.246 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/0.5837, allocations: 474.4 kB / 1.51 GB, free: 4.777 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5837, allocations: 0 / 1.51 GB, free: 4.777 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.5838, allocations: 16 kB / 1.51 GB, free: 4.762 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.5838, allocations: 20.94 kB / 1.51 GB, free: 4.738 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.5845, allocations: 415.7 kB / 1.51 GB, free: 4.336 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.5871, allocations: 1.764 MB / 1.512 GB, free: 2.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.5876, allocations: 286.6 kB / 1.512 GB, free: 2.137 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.5879, allocations: 174.3 kB / 1.512 GB, free: 1.965 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.588, allocations: 15.98 kB / 1.512 GB, free: 1.949 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.5881, allocations: 42.5 kB / 1.513 GB, free: 1.898 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.5881, allocations: 4 kB / 1.513 GB, free: 1.895 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002007/0.5901, allocations: 0.9897 MB / 1.513 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5901, allocations: 55.41 kB / 1.514 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.5906, allocations: 457.9 kB / 1.514 GB, free: 364 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.5907, allocations: 37.7 kB / 1.514 GB, free: 320 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.5909, allocations: 248.5 kB / 1.514 GB, free: 68 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.591, allocations: 127.1 kB / 1.514 GB, free: 15.94 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.5911, allocations: 69.69 kB / 1.514 GB, free: 15.86 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5913, allocations: 354.8 kB / 1.515 GB, free: 15.51 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.5915, allocations: 135.7 kB / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.5918, allocations: 193.7 kB / 1.515 GB, free: 15.16 MB / 1.217 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.001931/0.5937, allocations: 0.7924 MB / 1.516 GB, free: 14.35 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5937, allocations: 7.938 kB / 1.516 GB, free: 14.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006493/0.5944, allocations: 416.7 kB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5944, allocations: 4 kB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.5944, allocations: 4 kB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5944, allocations: 4 kB / 1.516 GB, free: 13.92 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.5947, allocations: 71.91 kB / 1.516 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5947, allocations: 3.938 kB / 1.516 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.5951, allocations: 20.17 kB / 1.516 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.5951, allocations: 12 kB / 1.516 GB, free: 13.82 MB / 1.217 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.0002746/0.5954, allocations: 213.6 kB / 1.517 GB, free: 13.6 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.5955, allocations: 51.72 kB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.5956, allocations: 60.75 kB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5956, allocations: 4 kB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5957, allocations: 0 / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005291/0.5962, allocations: 404.3 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.5981, allocations: 1.222 MB / 1.518 GB, free: 11.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5981, allocations: 7.984 kB / 1.518 GB, free: 11.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.5985, allocations: 75.91 kB / 1.518 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.5985, allocations: 4.5 kB / 1.518 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.5985, allocations: 15.98 kB / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.5985, allocations: 11.94 kB / 1.518 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5985, allocations: 4 kB / 1.518 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009743/0.5995, allocations: 0.7035 MB / 1.519 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.5997, allocations: 95.56 kB / 1.519 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.5998, allocations: 15.98 kB / 1.519 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.6002, allocations: 17.12 kB / 1.519 GB, free: 10.72 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.6003, allocations: 39.89 kB / 1.519 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.6003, allocations: 19.98 kB / 1.519 GB, free: 10.66 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004125/0.6008, allocations: 327.1 kB / 1.52 GB, free: 10.35 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6008, allocations: 0 / 1.52 GB, free: 10.35 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006093/0.6014, allocations: 144 kB / 1.52 GB, free: 10.21 MB / 1.217 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.000341/0.6017, allocations: 155 kB / 1.52 GB, free: 10.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005735/0.6023, allocations: 318.4 kB / 1.52 GB, free: 9.734 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.6023, allocations: 4 kB / 1.52 GB, free: 9.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.6025, allocations: 155.7 kB / 1.52 GB, free: 9.578 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.6041, allocations: 363.8 kB / 1.521 GB, free: 9.227 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.6059, allocations: 1.138 MB / 1.522 GB, free: 8.008 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.6065, allocations: 0.8823 MB / 1.523 GB, free: 7.098 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004123/0.6069, allocations: 140.7 kB / 1.523 GB, free: 6.961 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.607, allocations: 43.44 kB / 1.523 GB, free: 6.918 MB / 1.217 GB Notification: Performance of SimCode: time 3.61e-07/0.607, allocations: 0 / 1.523 GB, free: 6.918 MB / 1.217 GB Notification: Performance of Templates: time 0.01998/0.627, allocations: 11.47 MB / 1.534 GB, free: 11.62 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.073178695049137]