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.0008904/0.0008904, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008639/0.0008639, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9581/0.9581, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.686/1.686, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9505 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.47e-05, allocations: 5.797 kB / 0.9505 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6776/0.6776, allocations: 150.6 MB / 1.098 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004147/0.6818, allocations: 3.205 MB / 1.101 GB, free: 12.35 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.6822, allocations: 30.19 kB / 1.101 GB, free: 12.33 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007266/0.6829, allocations: 312.6 kB / 1.101 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.6846, allocations: 1.078 MB / 1.102 GB, free: 11.56 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.6858, allocations: 0.7109 MB / 1.103 GB, free: 11.19 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.6875, allocations: 1.564 MB / 1.104 GB, free: 10.46 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00048/0.688, allocations: 380.6 kB / 1.105 GB, free: 10.29 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009534/0.6889, allocations: 0.7667 MB / 1.105 GB, free: 9.938 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.6898, allocations: 444.6 kB / 1.106 GB, free: 9.801 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.6899, allocations: 53.66 kB / 1.106 GB, free: 9.801 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.6909, allocations: 0.707 MB / 1.107 GB, free: 9.539 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.6912, allocations: 265.6 kB / 1.107 GB, free: 9.414 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.6915, allocations: 234.9 kB / 1.107 GB, free: 9.324 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.6928, allocations: 1.159 MB / 1.108 GB, free: 8.758 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.6928, allocations: 0 / 1.108 GB, free: 8.758 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6928, allocations: 0 / 1.108 GB, free: 8.758 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.6928, allocations: 1.188 kB / 1.108 GB, free: 8.758 MB / 0.948 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.00123/0.694, allocations: 0.8589 MB / 1.109 GB, free: 8.078 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6941, allocations: 9.875 kB / 1.109 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.656e-05/0.6942, allocations: 86.88 kB / 1.109 GB, free: 8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007596/0.6949, allocations: 176.2 kB / 1.109 GB, free: 7.922 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.6956, allocations: 470 kB / 1.11 GB, free: 7.559 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.6957, allocations: 37.88 kB / 1.11 GB, free: 7.539 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.6957, allocations: 46.88 kB / 1.11 GB, free: 7.523 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.6964, allocations: 0.7155 MB / 1.111 GB, free: 6.941 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6964, allocations: 0 / 1.111 GB, free: 6.941 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.6964, allocations: 22.05 kB / 1.111 GB, free: 6.926 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.6964, allocations: 15.56 kB / 1.111 GB, free: 6.922 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.6969, allocations: 415 kB / 1.111 GB, free: 6.723 MB / 0.948 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.001658/0.6986, allocations: 1.226 MB / 1.112 GB, free: 5.867 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.6989, allocations: 282.6 kB / 1.112 GB, free: 5.711 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.6991, allocations: 168.6 kB / 1.113 GB, free: 5.625 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.6992, allocations: 23.11 kB / 1.113 GB, free: 5.617 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.6993, allocations: 38.69 kB / 1.113 GB, free: 5.574 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.6993, allocations: 0 / 1.113 GB, free: 5.574 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001342/0.7006, allocations: 0.9968 MB / 1.114 GB, free: 4.961 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.7006, allocations: 58.31 kB / 1.114 GB, free: 4.895 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.701, allocations: 456.1 kB / 1.114 GB, free: 4.621 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.701, allocations: 32.42 kB / 1.114 GB, free: 4.586 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.7011, allocations: 261.2 kB / 1.114 GB, free: 4.355 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.7012, allocations: 120.4 kB / 1.114 GB, free: 4.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.7013, allocations: 71.31 kB / 1.115 GB, free: 4.203 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7014, allocations: 357.4 kB / 1.115 GB, free: 3.855 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.7016, allocations: 123.4 kB / 1.115 GB, free: 3.797 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.7017, allocations: 249 kB / 1.115 GB, free: 3.598 MB / 0.948 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.001071/0.7028, allocations: 0.7955 MB / 1.116 GB, free: 3.164 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7028, allocations: 2.812 kB / 1.116 GB, free: 3.164 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003911/0.7032, allocations: 411.5 kB / 1.116 GB, free: 2.949 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7032, allocations: 9.125 kB / 1.116 GB, free: 2.945 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7032, allocations: 3.188 kB / 1.116 GB, free: 2.945 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.7032, allocations: 7.125 kB / 1.116 GB, free: 2.941 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.7034, allocations: 73.22 kB / 1.117 GB, free: 2.926 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7034, allocations: 4.328 kB / 1.117 GB, free: 2.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.7036, allocations: 9.688 kB / 1.117 GB, free: 2.922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.7036, allocations: 12.38 kB / 1.117 GB, free: 2.918 MB / 0.948 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.0001688/0.7038, allocations: 219.1 kB / 1.117 GB, free: 2.738 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.7038, allocations: 54.8 kB / 1.117 GB, free: 2.711 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.7039, allocations: 62.98 kB / 1.117 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7039, allocations: 2.719 kB / 1.117 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7039, allocations: 6.438 kB / 1.117 GB, free: 2.656 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003144/0.7042, allocations: 404.5 kB / 1.117 GB, free: 2.371 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.7053, allocations: 1.143 MB / 1.118 GB, free: 1.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.7053, allocations: 3.562 kB / 1.118 GB, free: 1.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.7054, allocations: 72.62 kB / 1.118 GB, free: 1.504 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.7054, allocations: 6.031 kB / 1.118 GB, free: 1.504 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.7055, allocations: 16.28 kB / 1.118 GB, free: 1.496 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.7055, allocations: 10.27 kB / 1.118 GB, free: 1.492 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7055, allocations: 7.469 kB / 1.118 GB, free: 1.488 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.706, allocations: 0.6888 MB / 1.119 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.7062, allocations: 101 kB / 1.119 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.7062, allocations: 11.53 kB / 1.119 GB, free: 0.918 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.7064, allocations: 22.83 kB / 1.119 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.7064, allocations: 36.98 kB / 1.119 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.7065, allocations: 20.22 kB / 1.119 GB, free: 0.8789 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002237/0.7067, allocations: 332.3 kB / 1.12 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7067, allocations: 0 / 1.12 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000342/0.707, allocations: 140 kB / 1.12 GB, free: 0.668 MB / 0.948 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.001008/0.708, allocations: 1.287 MB / 1.121 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.7084, allocations: 316.1 kB / 1.121 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7084, allocations: 2.656 kB / 1.121 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.7085, allocations: 163.6 kB / 1.122 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.7095, allocations: 376.9 kB / 1.122 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.713, allocations: 4.352 MB / 1.126 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.7132, allocations: 289.5 kB / 1.126 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000266/0.7135, allocations: 135.4 kB / 1.127 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.7137, allocations: 167.5 kB / 1.127 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of SimCode: time 7.61e-07/0.7137, allocations: 0 / 1.127 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.7533, allocations: 17.42 MB / 1.144 GB, free: 400 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/8.214, allocations: 12.31 kB / 1.144 GB, free: 392 kB / 0.9636 GB " [Timeout remaining time 292] (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/jenkins/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: 12.366635144688189]