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.00122/0.00122, allocations: 99.75 kB / 18.95 MB, free: 2.672 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.001388/0.001388, allocations: 216.9 kB / 22.25 MB, free: 5.254 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.785 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.022/3.022, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.001919/0.001919, allocations: 62.41 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3229, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1768/0.4996, allocations: 150.7 MB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005572/0.5052, allocations: 3.21 MB / 1.476 GB, free: 7.004 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.5058, allocations: 35.69 kB / 1.476 GB, free: 6.969 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008547/0.5066, allocations: 298.1 kB / 1.476 GB, free: 6.676 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.509, allocations: 1.054 MB / 1.478 GB, free: 5.617 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.5106, allocations: 0.6928 MB / 1.478 GB, free: 4.93 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.5124, allocations: 1.56 MB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.513, allocations: 390.5 kB / 1.48 GB, free: 2.973 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.5141, allocations: 0.7357 MB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.5152, allocations: 0.4903 MB / 1.481 GB, free: 1.746 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.5153, allocations: 56 kB / 1.481 GB, free: 1.691 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.5165, allocations: 0.7013 MB / 1.482 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.5167, allocations: 243.3 kB / 1.482 GB, free: 0.75 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.517, allocations: 282.8 kB / 1.483 GB, free: 484 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.5184, allocations: 1.117 MB / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5184, allocations: 3.984 kB / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5184, allocations: 0 / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.5184, allocations: 0 / 1.484 GB, free: 15.35 MB / 1.186 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.00132/0.5197, allocations: 0.8587 MB / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5198, allocations: 8.031 kB / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.5199, allocations: 82.53 kB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.521, allocations: 179.5 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.5218, allocations: 470.5 kB / 1.485 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.5219, allocations: 33 kB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.5219, allocations: 44 kB / 1.485 GB, free: 13.62 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008772/0.5228, allocations: 0.7142 MB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5228, allocations: 0 / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.5229, allocations: 20 kB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.5229, allocations: 20.94 kB / 1.486 GB, free: 12.8 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.5235, allocations: 411.7 kB / 1.486 GB, free: 12.4 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.5258, allocations: 1.23 MB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.5263, allocations: 290.5 kB / 1.488 GB, free: 10.83 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.5265, allocations: 168.8 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.5267, allocations: 23.92 kB / 1.488 GB, free: 10.64 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5267, allocations: 34.56 kB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 3.446e-06/0.5267, allocations: 4 kB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.001849/0.5286, allocations: 0.9883 MB / 1.489 GB, free: 9.566 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.5286, allocations: 59.41 kB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.5291, allocations: 453.9 kB / 1.49 GB, free: 9.051 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.5291, allocations: 33.7 kB / 1.49 GB, free: 9.012 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.5293, allocations: 260.4 kB / 1.49 GB, free: 8.754 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5294, allocations: 119 kB / 1.49 GB, free: 8.637 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.5295, allocations: 65.7 kB / 1.49 GB, free: 8.566 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5297, allocations: 358.8 kB / 1.49 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.5299, allocations: 131.9 kB / 1.49 GB, free: 8.078 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.5302, allocations: 256.8 kB / 1.491 GB, free: 7.793 MB / 1.186 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.5321, allocations: 0.7828 MB / 1.491 GB, free: 6.988 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5321, allocations: 0 / 1.491 GB, free: 6.988 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006114/0.5327, allocations: 424.8 kB / 1.492 GB, free: 6.566 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5327, allocations: 10.03 kB / 1.492 GB, free: 6.559 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5327, allocations: 3.984 kB / 1.492 GB, free: 6.555 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5327, allocations: 4 kB / 1.492 GB, free: 6.551 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.533, allocations: 67.91 kB / 1.492 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.533, allocations: 4 kB / 1.492 GB, free: 6.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.5334, allocations: 15.94 kB / 1.492 GB, free: 6.465 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.5334, allocations: 8 kB / 1.492 GB, free: 6.457 MB / 1.186 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.0002605/0.5337, allocations: 217.9 kB / 1.492 GB, free: 6.234 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.5337, allocations: 59.66 kB / 1.492 GB, free: 6.176 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.5339, allocations: 56.77 kB / 1.492 GB, free: 6.117 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5339, allocations: 4 kB / 1.492 GB, free: 6.113 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5339, allocations: 3.938 kB / 1.492 GB, free: 6.109 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004933/0.5344, allocations: 400.3 kB / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.5362, allocations: 1.147 MB / 1.494 GB, free: 4.441 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5362, allocations: 4 kB / 1.494 GB, free: 4.438 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.5365, allocations: 75.84 kB / 1.494 GB, free: 4.363 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5365, allocations: 4 kB / 1.494 GB, free: 4.359 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.5365, allocations: 16 kB / 1.494 GB, free: 4.344 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.5366, allocations: 12.42 kB / 1.494 GB, free: 4.332 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5366, allocations: 11.94 kB / 1.494 GB, free: 4.32 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008782/0.5374, allocations: 0.7035 MB / 1.495 GB, free: 3.551 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.5377, allocations: 95.61 kB / 1.495 GB, free: 3.457 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.5377, allocations: 20 kB / 1.495 GB, free: 3.438 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.5381, allocations: 16.92 kB / 1.495 GB, free: 3.422 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.5382, allocations: 35.83 kB / 1.495 GB, free: 3.387 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.5382, allocations: 20 kB / 1.495 GB, free: 3.367 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003537/0.5386, allocations: 331.1 kB / 1.495 GB, free: 3.047 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5386, allocations: 4.062 kB / 1.495 GB, free: 3.043 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005129/0.5391, allocations: 143.9 kB / 1.495 GB, free: 2.902 MB / 1.186 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.001308/0.5404, allocations: 1.282 MB / 1.496 GB, free: 1.543 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.5409, allocations: 319.8 kB / 1.497 GB, free: 1.23 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5409, allocations: 4 kB / 1.497 GB, free: 1.227 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.5412, allocations: 157.5 kB / 1.497 GB, free: 1.074 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.5428, allocations: 361.5 kB / 1.497 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.5482, allocations: 4.421 MB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.5485, allocations: 284.7 kB / 1.502 GB, free: 11.78 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004237/0.5489, allocations: 140.7 kB / 1.502 GB, free: 11.64 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.5492, allocations: 171.4 kB / 1.502 GB, free: 11.48 MB / 1.201 GB Notification: Performance of SimCode: time 6.31e-07/0.5492, allocations: 0 / 1.502 GB, free: 11.48 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04911/0.5983, allocations: 17.51 MB / 1.519 GB, free: 10.4 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.32, allocations: 4.125 kB / 1.519 GB, free: 10.4 MB / 1.217 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: 17.657521195011213]