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.001504/0.001504, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001901/0.001901, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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 2.864/2.864, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [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.001833/0.001833, allocations: 66.91 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2804, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.186/0.4664, allocations: 174.5 MB / 1.496 GB, free: 2.828 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0053/0.4717, allocations: 3.42 MB / 1.5 GB, free: 15.4 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.4722, allocations: 31.75 kB / 1.5 GB, free: 15.37 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.473, allocations: 330.1 kB / 1.5 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.4751, allocations: 1.062 MB / 1.501 GB, free: 13.98 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.4767, allocations: 0.7085 MB / 1.502 GB, free: 13.28 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0018/0.4785, allocations: 1.576 MB / 1.503 GB, free: 11.69 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.479, allocations: 370.6 kB / 1.504 GB, free: 11.32 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.4801, allocations: 0.7473 MB / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.4811, allocations: 488.1 kB / 1.505 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.4812, allocations: 56 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.4827, allocations: 0.8924 MB / 1.506 GB, free: 9.148 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.4829, allocations: 243.3 kB / 1.506 GB, free: 8.91 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.4833, allocations: 338.5 kB / 1.506 GB, free: 8.578 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.4847, allocations: 1.145 MB / 1.507 GB, free: 7.43 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4847, allocations: 0 / 1.507 GB, free: 7.43 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4847, allocations: 0 / 1.507 GB, free: 7.43 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.4847, allocations: 0 / 1.507 GB, free: 7.43 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.001321/0.4861, allocations: 0.8548 MB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4861, allocations: 16.03 kB / 1.508 GB, free: 6.527 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.712e-05/0.4862, allocations: 82.53 kB / 1.508 GB, free: 6.438 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4873, allocations: 175.5 kB / 1.509 GB, free: 6.266 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008085/0.4881, allocations: 478.5 kB / 1.509 GB, free: 5.77 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.4881, allocations: 33 kB / 1.509 GB, free: 5.738 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.4882, allocations: 40 kB / 1.509 GB, free: 5.699 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.4889, allocations: 478.3 kB / 1.509 GB, free: 5.227 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4889, allocations: 0 / 1.509 GB, free: 5.227 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.489, allocations: 16 kB / 1.509 GB, free: 5.211 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.489, allocations: 17 kB / 1.51 GB, free: 5.191 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.4896, allocations: 411.7 kB / 1.51 GB, free: 4.793 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.492, allocations: 1.772 MB / 1.512 GB, free: 2.875 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.4925, allocations: 290.5 kB / 1.512 GB, free: 2.582 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.4927, allocations: 174.6 kB / 1.512 GB, free: 2.41 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.4929, allocations: 27.92 kB / 1.512 GB, free: 2.383 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4929, allocations: 38.56 kB / 1.512 GB, free: 2.336 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 1.303e-06/0.4929, allocations: 0 / 1.512 GB, free: 2.336 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001826/0.4947, allocations: 0.9921 MB / 1.513 GB, free: 1.309 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.4948, allocations: 51.41 kB / 1.513 GB, free: 1.246 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.4953, allocations: 461.9 kB / 1.514 GB, free: 0.793 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.4953, allocations: 33.7 kB / 1.514 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.4955, allocations: 252.5 kB / 1.514 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4956, allocations: 119 kB / 1.514 GB, free: 396 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4957, allocations: 69.69 kB / 1.514 GB, free: 320 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4959, allocations: 358.8 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.4961, allocations: 131.7 kB / 1.515 GB, free: 15.82 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.4964, allocations: 205.6 kB / 1.515 GB, free: 15.6 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.001829/0.4982, allocations: 0.7869 MB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4982, allocations: 0 / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006085/0.4988, allocations: 424.8 kB / 1.516 GB, free: 14.37 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4988, allocations: 6.031 kB / 1.516 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4988, allocations: 4 kB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4989, allocations: 8.188 kB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.4991, allocations: 67.91 kB / 1.516 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4992, allocations: 0 / 1.516 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.4995, allocations: 19.98 kB / 1.516 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4995, allocations: 8 kB / 1.516 GB, free: 14.26 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.0002455/0.4998, allocations: 217.6 kB / 1.516 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.4999, allocations: 51.67 kB / 1.516 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.5, allocations: 68.73 kB / 1.516 GB, free: 13.92 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5, allocations: 8 kB / 1.516 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5, allocations: 0 / 1.516 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004962/0.5005, allocations: 404.3 kB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.5023, allocations: 1.206 MB / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5023, allocations: 4 kB / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.5026, allocations: 83.88 kB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.5026, allocations: 7.984 kB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.5026, allocations: 12 kB / 1.518 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.5027, allocations: 8 kB / 1.518 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5027, allocations: 7.938 kB / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.5035, allocations: 0.7035 MB / 1.519 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.5038, allocations: 95.56 kB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.5038, allocations: 15.98 kB / 1.519 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.5042, allocations: 13.88 kB / 1.519 GB, free: 11.17 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.5043, allocations: 39.89 kB / 1.519 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.5043, allocations: 23.98 kB / 1.519 GB, free: 11.11 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003687/0.5047, allocations: 327.1 kB / 1.519 GB, free: 10.79 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5047, allocations: 4 kB / 1.519 GB, free: 10.79 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005194/0.5052, allocations: 140 kB / 1.519 GB, free: 10.65 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.00135/0.5066, allocations: 1.297 MB / 1.521 GB, free: 9.277 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.5071, allocations: 311.8 kB / 1.521 GB, free: 8.973 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5071, allocations: 7.938 kB / 1.521 GB, free: 8.965 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.5073, allocations: 158.7 kB / 1.521 GB, free: 8.812 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.5089, allocations: 355.8 kB / 1.521 GB, free: 8.465 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.5142, allocations: 4.422 MB / 1.526 GB, free: 3.824 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.5147, allocations: 0.8901 MB / 1.527 GB, free: 2.906 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.5151, allocations: 136.7 kB / 1.527 GB, free: 2.773 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.5154, allocations: 163.4 kB / 1.527 GB, free: 2.613 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.5154, allocations: 0 / 1.527 GB, free: 2.613 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.5624, allocations: 15.88 MB / 1.542 GB, free: 3.043 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11, allocations: 8.828 kB / 1.542 GB, free: 3.039 MB / 1.232 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.963610871000128]