Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 443.5 MB / 0.7304 GB, free: 14 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.83 kB / 1.059 GB, free: 1 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2606, allocations: 160.7 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6721/0.9327, allocations: 171.6 MB / 1.383 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005586/0.9382, allocations: 3.412 MB / 1.386 GB, free: 5.336 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/0.939, allocations: 21.94 kB / 1.386 GB, free: 5.328 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000969/0.94, allocations: 331.5 kB / 1.387 GB, free: 5.148 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.9426, allocations: 1.048 MB / 1.388 GB, free: 4.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.9443, allocations: 0.6819 MB / 1.388 GB, free: 3.988 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002131/0.9464, allocations: 1.545 MB / 1.39 GB, free: 3.094 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/0.9471, allocations: 371.4 kB / 1.39 GB, free: 2.836 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.9483, allocations: 0.5874 MB / 1.391 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.9496, allocations: 0.4911 MB / 1.391 GB, free: 2.199 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.9498, allocations: 54.28 kB / 1.391 GB, free: 2.199 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.9516, allocations: 0.8952 MB / 1.392 GB, free: 1.699 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.9519, allocations: 240 kB / 1.393 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.9525, allocations: 335.6 kB / 1.393 GB, free: 1.332 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.9544, allocations: 1.14 MB / 1.394 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9544, allocations: 0 / 1.394 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9544, allocations: 0 / 1.394 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.9544, allocations: 5.094 kB / 1.394 GB, free: 0.5938 MB / 1.061 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.001745/0.9561, allocations: 0.9227 MB / 1.395 GB, free: 15.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.9562, allocations: 9.75 kB / 1.395 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.9563, allocations: 83.69 kB / 1.395 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.9575, allocations: 182.5 kB / 1.395 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.9584, allocations: 0.5245 MB / 1.396 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.9585, allocations: 33.78 kB / 1.396 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/0.9585, allocations: 44.16 kB / 1.396 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.9593, allocations: 477.5 kB / 1.396 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.9594, allocations: 1.188 kB / 1.396 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.9594, allocations: 16.81 kB / 1.396 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.9594, allocations: 18.28 kB / 1.396 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.9601, allocations: 412.9 kB / 1.397 GB, free: 14.72 MB / 1.076 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.002614/0.9627, allocations: 1.734 MB / 1.398 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.9632, allocations: 291.8 kB / 1.399 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.9634, allocations: 165.3 kB / 1.399 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.9636, allocations: 96.22 kB / 1.399 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.9636, allocations: 44.62 kB / 1.399 GB, free: 12.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.9636, allocations: 0 / 1.399 GB, free: 12.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001932/0.9655, allocations: 1.061 MB / 1.4 GB, free: 12.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.9656, allocations: 55.31 kB / 1.4 GB, free: 12.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.9661, allocations: 455.4 kB / 1.4 GB, free: 11.85 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.9661, allocations: 33.14 kB / 1.4 GB, free: 11.81 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.9663, allocations: 260 kB / 1.401 GB, free: 11.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.9664, allocations: 121.8 kB / 1.401 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.9665, allocations: 65.27 kB / 1.401 GB, free: 11.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9667, allocations: 358 kB / 1.401 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.9669, allocations: 128.2 kB / 1.401 GB, free: 11.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.9671, allocations: 200 kB / 1.401 GB, free: 10.88 MB / 1.076 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.001811/0.9689, allocations: 0.8623 MB / 1.402 GB, free: 10.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9689, allocations: 1.719 kB / 1.402 GB, free: 10.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005975/0.9695, allocations: 416.3 kB / 1.403 GB, free: 10.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.9695, allocations: 5.156 kB / 1.403 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9696, allocations: 3.281 kB / 1.403 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9696, allocations: 6.844 kB / 1.403 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.9699, allocations: 71.69 kB / 1.403 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.9699, allocations: 3.594 kB / 1.403 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.9702, allocations: 13.62 kB / 1.403 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.9703, allocations: 18.2 kB / 1.403 GB, free: 10.11 MB / 1.076 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.0002493/0.9705, allocations: 214.9 kB / 1.403 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/0.9706, allocations: 58.27 kB / 1.403 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.9707, allocations: 56.77 kB / 1.403 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.9708, allocations: 5.281 kB / 1.403 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.9708, allocations: 7.922 kB / 1.403 GB, free: 9.848 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004978/0.9713, allocations: 405.3 kB / 1.404 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.9729, allocations: 1.247 MB / 1.405 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.973, allocations: 5.531 kB / 1.405 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.9733, allocations: 75.05 kB / 1.405 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.9733, allocations: 9.984 kB / 1.405 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.9733, allocations: 19.72 kB / 1.405 GB, free: 8.562 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.9733, allocations: 5.75 kB / 1.405 GB, free: 8.562 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.9733, allocations: 9.531 kB / 1.405 GB, free: 8.559 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.9741, allocations: 0.6999 MB / 1.406 GB, free: 8.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.9743, allocations: 174.7 kB / 1.406 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.9744, allocations: 13.34 kB / 1.406 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.9747, allocations: 18.95 kB / 1.406 GB, free: 7.867 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.9748, allocations: 36.94 kB / 1.406 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.9748, allocations: 17.19 kB / 1.406 GB, free: 7.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003239/0.9751, allocations: 326.3 kB / 1.406 GB, free: 7.645 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9751, allocations: 0 / 1.406 GB, free: 7.645 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004999/0.9756, allocations: 145 kB / 1.406 GB, free: 7.629 MB / 1.076 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.001327/0.977, allocations: 1.304 MB / 1.408 GB, free: 6.551 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.9775, allocations: 325.6 kB / 1.408 GB, free: 6.395 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9775, allocations: 2.5 kB / 1.408 GB, free: 6.395 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.9777, allocations: 154 kB / 1.408 GB, free: 6.328 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.9792, allocations: 376.4 kB / 1.408 GB, free: 6.141 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/0.9843, allocations: 4.416 MB / 1.413 GB, free: 3.027 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.9848, allocations: 0.8841 MB / 1.414 GB, free: 2.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004178/0.9852, allocations: 128.5 kB / 1.414 GB, free: 2.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.9855, allocations: 167.1 kB / 1.414 GB, free: 2.055 MB / 1.076 GB Notification: Performance of SimCode: time 6.91e-07/0.9855, allocations: 3.938 kB / 1.414 GB, free: 2.051 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/1.031, allocations: 15.57 MB / 1.429 GB, free: 5.242 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.903, allocations: 5.625 kB / 1.429 GB, free: 5.242 MB / 1.092 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.134581197999069]