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.001438/0.001438, 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.001609/0.001609, allocations: 220.3 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.306/1.306, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 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 2.909/2.909, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_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.00189/0.00189, allocations: 65.8 kB / 1.177 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2947, allocations: 180.2 MB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1821/0.4768, allocations: 174.5 MB / 1.523 GB, free: 9.262 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006218/0.483, allocations: 3.424 MB / 1.527 GB, free: 5.832 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006793/0.4837, allocations: 31.75 kB / 1.527 GB, free: 5.801 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009964/0.4847, allocations: 330.1 kB / 1.527 GB, free: 5.477 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.4873, allocations: 1.077 MB / 1.528 GB, free: 4.395 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.489, allocations: 0.6848 MB / 1.529 GB, free: 3.715 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.4908, allocations: 1.572 MB / 1.53 GB, free: 2.137 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.4914, allocations: 389.9 kB / 1.531 GB, free: 1.754 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.4925, allocations: 0.7357 MB / 1.531 GB, free: 1.016 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.4936, allocations: 496.1 kB / 1.532 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.4936, allocations: 56 kB / 1.532 GB, free: 488 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.4951, allocations: 0.8924 MB / 1.533 GB, free: 15.58 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.4954, allocations: 247.2 kB / 1.533 GB, free: 15.34 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.4957, allocations: 338.5 kB / 1.533 GB, free: 15.01 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.4971, allocations: 1.133 MB / 1.534 GB, free: 13.87 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4971, allocations: 0 / 1.534 GB, free: 13.87 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4971, allocations: 0 / 1.534 GB, free: 13.87 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.4971, allocations: 0 / 1.534 GB, free: 13.87 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001363/0.4985, allocations: 0.8626 MB / 1.535 GB, free: 12.97 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4985, allocations: 8.031 kB / 1.535 GB, free: 12.96 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.758e-05/0.4986, allocations: 86.52 kB / 1.535 GB, free: 12.87 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.4997, allocations: 175.5 kB / 1.535 GB, free: 12.7 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.5004, allocations: 470.5 kB / 1.536 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.5005, allocations: 36.98 kB / 1.536 GB, free: 12.18 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.5006, allocations: 40 kB / 1.536 GB, free: 12.14 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.5013, allocations: 486.3 kB / 1.536 GB, free: 11.66 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5013, allocations: 3.938 kB / 1.536 GB, free: 11.66 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.5013, allocations: 16 kB / 1.536 GB, free: 11.64 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.5014, allocations: 17 kB / 1.536 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.502, allocations: 415.7 kB / 1.537 GB, free: 11.22 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.5044, allocations: 1.76 MB / 1.539 GB, free: 9.312 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.5048, allocations: 292.4 kB / 1.539 GB, free: 9.02 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.5051, allocations: 164.8 kB / 1.539 GB, free: 8.855 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.5052, allocations: 27.92 kB / 1.539 GB, free: 8.828 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5052, allocations: 38.5 kB / 1.539 GB, free: 8.781 MB / 1.232 GB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.5052, allocations: 4 kB / 1.539 GB, free: 8.777 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.001766/0.507, allocations: 0.9942 MB / 1.54 GB, free: 7.75 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.5071, allocations: 55.41 kB / 1.54 GB, free: 7.684 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.5075, allocations: 449.9 kB / 1.541 GB, free: 7.238 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.5076, allocations: 33.7 kB / 1.541 GB, free: 7.199 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.5077, allocations: 260.5 kB / 1.541 GB, free: 6.941 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.5078, allocations: 122.9 kB / 1.541 GB, free: 6.82 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5079, allocations: 65.7 kB / 1.541 GB, free: 6.75 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5081, allocations: 362.7 kB / 1.541 GB, free: 6.387 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.5083, allocations: 127.9 kB / 1.541 GB, free: 6.262 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.5086, allocations: 189.9 kB / 1.542 GB, free: 6.055 MB / 1.232 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.001827/0.5104, allocations: 0.7967 MB / 1.542 GB, free: 5.238 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5104, allocations: 4 kB / 1.542 GB, free: 5.234 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005845/0.511, allocations: 416.9 kB / 1.543 GB, free: 4.82 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.511, allocations: 7.938 kB / 1.543 GB, free: 4.812 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.511, allocations: 4 kB / 1.543 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.511, allocations: 4 kB / 1.543 GB, free: 4.805 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.5113, allocations: 75.84 kB / 1.543 GB, free: 4.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5113, allocations: 4 kB / 1.543 GB, free: 4.727 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.5116, allocations: 16.19 kB / 1.543 GB, free: 4.711 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.5117, allocations: 12 kB / 1.543 GB, free: 4.699 MB / 1.232 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.0002346/0.5119, allocations: 222.2 kB / 1.543 GB, free: 4.473 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.512, allocations: 51.67 kB / 1.543 GB, free: 4.422 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.5121, allocations: 60.77 kB / 1.543 GB, free: 4.363 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5121, allocations: 4 kB / 1.543 GB, free: 4.359 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5121, allocations: 0 / 1.543 GB, free: 4.359 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004886/0.5126, allocations: 408.2 kB / 1.544 GB, free: 3.93 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5143, allocations: 1.209 MB / 1.545 GB, free: 2.621 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5143, allocations: 4 kB / 1.545 GB, free: 2.617 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.5147, allocations: 75.91 kB / 1.545 GB, free: 2.543 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.5147, allocations: 4.5 kB / 1.545 GB, free: 2.539 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.5147, allocations: 12 kB / 1.545 GB, free: 2.527 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.5147, allocations: 11.94 kB / 1.545 GB, free: 2.516 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5147, allocations: 4 kB / 1.545 GB, free: 2.512 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.5155, allocations: 0.7133 MB / 1.546 GB, free: 1.734 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.5157, allocations: 99.61 kB / 1.546 GB, free: 1.637 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.5158, allocations: 8 kB / 1.546 GB, free: 1.629 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.5162, allocations: 22.23 kB / 1.546 GB, free: 1.609 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.5162, allocations: 27.97 kB / 1.546 GB, free: 1.582 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.5163, allocations: 23.98 kB / 1.546 GB, free: 1.559 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003607/0.5166, allocations: 331.1 kB / 1.546 GB, free: 1.238 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5166, allocations: 3.938 kB / 1.546 GB, free: 1.234 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004787/0.5171, allocations: 140 kB / 1.546 GB, free: 1.098 MB / 1.232 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.001285/0.5184, allocations: 1.295 MB / 1.548 GB, free: 15.73 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.5189, allocations: 320.1 kB / 1.548 GB, free: 15.41 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.5189, allocations: 4 kB / 1.548 GB, free: 15.41 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.5191, allocations: 151.7 kB / 1.548 GB, free: 15.26 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5207, allocations: 372.7 kB / 1.548 GB, free: 14.91 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.5258, allocations: 4.413 MB / 1.553 GB, free: 10.27 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.5263, allocations: 0.8823 MB / 1.554 GB, free: 9.355 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003888/0.5267, allocations: 140.6 kB / 1.554 GB, free: 9.219 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.527, allocations: 167.4 kB / 1.554 GB, free: 9.055 MB / 1.248 GB Notification: Performance of SimCode: time 4.51e-07/0.527, allocations: 0 / 1.554 GB, free: 9.055 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04543/0.5724, allocations: 15.87 MB / 1.569 GB, free: 9.449 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.96, allocations: 18.05 kB / 1.569 GB, free: 9.434 MB / 1.264 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.97137853299955]