Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001639/0.001639, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001999/0.001999, allocations: 212.6 kB / 22.24 MB, free: 5.258 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.782/2.782, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_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.002076/0.002076, allocations: 67.67 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3305, allocations: 170 MB / 1.283 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2079/0.5384, allocations: 150.7 MB / 1.43 GB, free: 4.984 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006633/0.545, allocations: 3.207 MB / 1.433 GB, free: 1.773 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008445/0.5458, allocations: 31.75 kB / 1.433 GB, free: 1.742 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.5469, allocations: 302.1 kB / 1.433 GB, free: 1.445 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.5501, allocations: 1.054 MB / 1.434 GB, free: 396 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.5522, allocations: 0.6908 MB / 1.435 GB, free: 15.7 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002443/0.5547, allocations: 1.555 MB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008291/0.5555, allocations: 374 kB / 1.437 GB, free: 13.78 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.5569, allocations: 0.6032 MB / 1.437 GB, free: 13.17 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.5584, allocations: 480.8 kB / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.5586, allocations: 56 kB / 1.438 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.5603, allocations: 0.6973 MB / 1.439 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.5607, allocations: 251.2 kB / 1.439 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000529/0.5612, allocations: 278.9 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.5632, allocations: 1.117 MB / 1.44 GB, free: 10.31 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5632, allocations: 0 / 1.44 GB, free: 10.31 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.898e-06/0.5632, allocations: 3.984 kB / 1.44 GB, free: 10.3 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.081e-05/0.5632, allocations: 0 / 1.44 GB, free: 10.3 MB / 1.139 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.001928/0.5651, allocations: 0.8548 MB / 1.441 GB, free: 9.414 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5652, allocations: 12.03 kB / 1.441 GB, free: 9.402 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.5653, allocations: 82.53 kB / 1.441 GB, free: 9.312 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.5666, allocations: 175.5 kB / 1.441 GB, free: 9.141 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5676, allocations: 474.5 kB / 1.442 GB, free: 8.652 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.5676, allocations: 33 kB / 1.442 GB, free: 8.621 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.5677, allocations: 40 kB / 1.442 GB, free: 8.582 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5687, allocations: 0.7182 MB / 1.442 GB, free: 7.797 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.5688, allocations: 3.938 kB / 1.442 GB, free: 7.793 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.5688, allocations: 20 kB / 1.442 GB, free: 7.773 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.5689, allocations: 13 kB / 1.442 GB, free: 7.762 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.5696, allocations: 411.7 kB / 1.443 GB, free: 7.359 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.5722, allocations: 1.234 MB / 1.444 GB, free: 6.078 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.5727, allocations: 286.5 kB / 1.444 GB, free: 5.789 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.573, allocations: 172.8 kB / 1.444 GB, free: 5.617 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.5732, allocations: 23.92 kB / 1.445 GB, free: 5.594 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5732, allocations: 38.56 kB / 1.445 GB, free: 5.547 MB / 1.139 GB Notification: Performance of pre-optimization done (n=31): time 1.714e-06/0.5732, allocations: 0 / 1.445 GB, free: 5.547 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.002099/0.5753, allocations: 0.9989 MB / 1.446 GB, free: 4.516 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.5754, allocations: 51.41 kB / 1.446 GB, free: 4.453 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.5759, allocations: 461.8 kB / 1.446 GB, free: 3.996 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.576, allocations: 37.7 kB / 1.446 GB, free: 3.953 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.5762, allocations: 256.4 kB / 1.446 GB, free: 3.699 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5763, allocations: 119 kB / 1.446 GB, free: 3.582 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5765, allocations: 65.7 kB / 1.446 GB, free: 3.512 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.5766, allocations: 358.8 kB / 1.447 GB, free: 3.152 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.5769, allocations: 123.9 kB / 1.447 GB, free: 3.031 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.5772, allocations: 245.1 kB / 1.447 GB, free: 2.758 MB / 1.139 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.001979/0.5792, allocations: 0.7928 MB / 1.448 GB, free: 1.949 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.5792, allocations: 0 / 1.448 GB, free: 1.949 MB / 1.139 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006986/0.5799, allocations: 420.8 kB / 1.448 GB, free: 1.531 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5799, allocations: 4 kB / 1.448 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5799, allocations: 12.17 kB / 1.448 GB, free: 1.516 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5799, allocations: 4 kB / 1.448 GB, free: 1.512 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.5802, allocations: 67.92 kB / 1.448 GB, free: 1.445 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.5803, allocations: 11.92 kB / 1.448 GB, free: 1.434 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.5806, allocations: 8 kB / 1.448 GB, free: 1.426 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.5807, allocations: 12 kB / 1.448 GB, free: 1.414 MB / 1.139 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.0002946/0.581, allocations: 218.1 kB / 1.449 GB, free: 1.191 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5811, allocations: 51.67 kB / 1.449 GB, free: 1.141 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.5812, allocations: 60.75 kB / 1.449 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5812, allocations: 12 kB / 1.449 GB, free: 1.07 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5812, allocations: 0 / 1.449 GB, free: 1.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005528/0.5818, allocations: 404.9 kB / 1.449 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.5838, allocations: 1.146 MB / 1.45 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5838, allocations: 4 kB / 1.45 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.5842, allocations: 71.91 kB / 1.45 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5842, allocations: 8 kB / 1.45 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.5842, allocations: 12 kB / 1.45 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.5842, allocations: 7.938 kB / 1.45 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.5842, allocations: 7.984 kB / 1.45 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5852, allocations: 0.7119 MB / 1.451 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.5855, allocations: 95.61 kB / 1.451 GB, free: 14.42 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.5856, allocations: 12 kB / 1.451 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.586, allocations: 15.98 kB / 1.451 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.5861, allocations: 39.73 kB / 1.451 GB, free: 14.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.5861, allocations: 20 kB / 1.451 GB, free: 14.34 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004197/0.5865, allocations: 327.1 kB / 1.452 GB, free: 14.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5865, allocations: 0 / 1.452 GB, free: 14.02 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000571/0.5871, allocations: 151.9 kB / 1.452 GB, free: 13.87 MB / 1.154 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.001542/0.5887, allocations: 1.289 MB / 1.453 GB, free: 12.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005922/0.5892, allocations: 303.7 kB / 1.453 GB, free: 12.2 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5893, allocations: 0 / 1.453 GB, free: 12.2 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.5895, allocations: 160.7 kB / 1.453 GB, free: 12.05 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.5913, allocations: 370.5 kB / 1.454 GB, free: 11.69 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/0.5978, allocations: 4.425 MB / 1.458 GB, free: 7.047 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.5981, allocations: 288.8 kB / 1.458 GB, free: 6.738 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004958/0.5986, allocations: 128.7 kB / 1.459 GB, free: 6.613 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.5989, allocations: 171.4 kB / 1.459 GB, free: 6.445 MB / 1.154 GB Notification: Performance of SimCode: time 8.62e-07/0.5989, allocations: 4 kB / 1.459 GB, free: 6.441 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/0.655, allocations: 17.38 MB / 1.476 GB, free: 5.5 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.44, allocations: 3.938 kB / 1.476 GB, free: 5.496 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.24458550894633]