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.001286/0.001286, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001442/0.001442, allocations: 212.4 kB / 22.25 MB, free: 4.859 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.367/1.367, allocations: 230.7 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.003/3.003, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.001936/0.001936, allocations: 63.62 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3182, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1777/0.4959, allocations: 150.7 MB / 1.511 GB, free: 6.801 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00538/0.5013, allocations: 3.204 MB / 1.514 GB, free: 3.594 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.5018, allocations: 31.69 kB / 1.514 GB, free: 3.562 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.5028, allocations: 306.1 kB / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.5053, allocations: 1.054 MB / 1.515 GB, free: 2.203 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.507, allocations: 0.6778 MB / 1.516 GB, free: 1.531 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.5091, allocations: 1.556 MB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.5097, allocations: 373.7 kB / 1.518 GB, free: 15.6 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.5111, allocations: 0.7434 MB / 1.518 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.5123, allocations: 482.1 kB / 1.519 GB, free: 14.38 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.5124, allocations: 56 kB / 1.519 GB, free: 14.33 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.5139, allocations: 0.6896 MB / 1.52 GB, free: 13.64 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.5142, allocations: 247.3 kB / 1.52 GB, free: 13.39 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.5146, allocations: 278.8 kB / 1.52 GB, free: 13.12 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.5162, allocations: 1.117 MB / 1.521 GB, free: 12 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5162, allocations: 3.984 kB / 1.521 GB, free: 12 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5163, allocations: 0 / 1.521 GB, free: 12 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.5163, allocations: 3.938 kB / 1.521 GB, free: 11.99 MB / 1.217 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.00159/0.5179, allocations: 0.8548 MB / 1.522 GB, free: 11.11 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5179, allocations: 8.031 kB / 1.522 GB, free: 11.1 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.518, allocations: 82.52 kB / 1.522 GB, free: 11.01 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.5192, allocations: 179.4 kB / 1.522 GB, free: 10.83 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.5201, allocations: 474.5 kB / 1.523 GB, free: 10.34 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.5201, allocations: 33 kB / 1.523 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.5202, allocations: 40 kB / 1.523 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.5211, allocations: 0.722 MB / 1.523 GB, free: 9.484 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5212, allocations: 0 / 1.523 GB, free: 9.484 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.5212, allocations: 16 kB / 1.523 GB, free: 9.469 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.5212, allocations: 17 kB / 1.523 GB, free: 9.449 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.5219, allocations: 415.7 kB / 1.524 GB, free: 9.047 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.5244, allocations: 1.226 MB / 1.525 GB, free: 7.773 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.525, allocations: 284.7 kB / 1.525 GB, free: 7.488 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.5252, allocations: 172.7 kB / 1.525 GB, free: 7.316 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.5254, allocations: 23.92 kB / 1.526 GB, free: 7.293 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.5254, allocations: 38.56 kB / 1.526 GB, free: 7.246 MB / 1.217 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.5254, allocations: 4 kB / 1.526 GB, free: 7.242 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.001991/0.5274, allocations: 0.994 MB / 1.527 GB, free: 6.215 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.5274, allocations: 55.41 kB / 1.527 GB, free: 6.148 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.5279, allocations: 465.8 kB / 1.527 GB, free: 5.688 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.528, allocations: 33.7 kB / 1.527 GB, free: 5.648 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.5282, allocations: 252.4 kB / 1.527 GB, free: 5.398 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5283, allocations: 119 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5284, allocations: 73.66 kB / 1.527 GB, free: 5.203 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5286, allocations: 358.8 kB / 1.528 GB, free: 4.844 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5288, allocations: 131.8 kB / 1.528 GB, free: 4.715 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.5291, allocations: 249.1 kB / 1.528 GB, free: 4.438 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.001876/0.531, allocations: 0.7906 MB / 1.529 GB, free: 3.625 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.531, allocations: 0 / 1.529 GB, free: 3.625 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006247/0.5316, allocations: 420.8 kB / 1.529 GB, free: 3.207 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5316, allocations: 4 kB / 1.529 GB, free: 3.203 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5316, allocations: 7.984 kB / 1.529 GB, free: 3.195 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5316, allocations: 0 / 1.529 GB, free: 3.195 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.5319, allocations: 71.91 kB / 1.529 GB, free: 3.125 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.532, allocations: 4 kB / 1.529 GB, free: 3.121 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.5323, allocations: 11.94 kB / 1.529 GB, free: 3.109 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.5323, allocations: 16.19 kB / 1.529 GB, free: 3.094 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.0002453/0.5326, allocations: 221.6 kB / 1.53 GB, free: 2.867 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.5327, allocations: 51.7 kB / 1.53 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.5328, allocations: 56.77 kB / 1.53 GB, free: 2.758 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5328, allocations: 4 kB / 1.53 GB, free: 2.754 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5328, allocations: 0 / 1.53 GB, free: 2.754 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005088/0.5333, allocations: 404.3 kB / 1.53 GB, free: 2.328 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.5352, allocations: 1.151 MB / 1.531 GB, free: 1.078 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5352, allocations: 4 kB / 1.531 GB, free: 1.074 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.5355, allocations: 71.84 kB / 1.531 GB, free: 1.004 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.5355, allocations: 4 kB / 1.531 GB, free: 1 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.5355, allocations: 12.5 kB / 1.531 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.5355, allocations: 8 kB / 1.531 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.5356, allocations: 19.92 kB / 1.531 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.5365, allocations: 0.704 MB / 1.532 GB, free: 196 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.5367, allocations: 95.62 kB / 1.532 GB, free: 100 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.5368, allocations: 8 kB / 1.532 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.5372, allocations: 25.67 kB / 1.532 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.5372, allocations: 39.77 kB / 1.532 GB, free: 28 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.5372, allocations: 12 kB / 1.532 GB, free: 16 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004146/0.5377, allocations: 335.2 kB / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5377, allocations: 0 / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005049/0.5382, allocations: 147.9 kB / 1.533 GB, free: 15.55 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.001378/0.5395, allocations: 1.296 MB / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.5401, allocations: 307.5 kB / 1.534 GB, free: 13.87 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5401, allocations: 384 / 1.534 GB, free: 13.87 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.5403, allocations: 164.9 kB / 1.534 GB, free: 13.71 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.5419, allocations: 363.3 kB / 1.535 GB, free: 13.36 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.5477, allocations: 4.423 MB / 1.539 GB, free: 8.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.548, allocations: 280.8 kB / 1.539 GB, free: 8.426 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004373/0.5484, allocations: 136.7 kB / 1.54 GB, free: 8.293 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.5487, allocations: 167.4 kB / 1.54 GB, free: 8.133 MB / 1.232 GB Notification: Performance of SimCode: time 5.11e-07/0.5487, allocations: 0 / 1.54 GB, free: 8.133 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05063/0.5993, allocations: 17.37 MB / 1.557 GB, free: 7.184 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.69, allocations: 6.703 kB / 1.557 GB, free: 7.18 MB / 1.248 GB " [Timeout remaining time 288] (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: 17.937177503015846]