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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 195.8 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5105, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1626/0.6731, allocations: 170.8 MB / 1.184 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004913/0.6781, allocations: 3.379 MB / 1.187 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.6786, allocations: 23.88 kB / 1.188 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008299/0.6795, allocations: 314.1 kB / 1.188 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.6816, allocations: 1.023 MB / 1.189 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.6831, allocations: 0.6573 MB / 1.189 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.6847, allocations: 1.525 MB / 1.191 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006226/0.6853, allocations: 473.5 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008325/0.6862, allocations: 0.5603 MB / 1.192 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.6872, allocations: 468 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.6873, allocations: 52 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.6886, allocations: 0.834 MB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.6889, allocations: 239.4 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.6893, allocations: 342.5 kB / 1.194 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.6906, allocations: 1.118 MB / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.6906, allocations: 0 / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6906, allocations: 0 / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.6906, allocations: 4 kB / 1.195 GB, free: 12.04 MB / 0.9512 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.00136/0.692, allocations: 0.9193 MB / 1.196 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.692, allocations: 8.031 kB / 1.196 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.554e-05/0.6921, allocations: 82.53 kB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.6933, allocations: 179 kB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.694, allocations: 0.4975 MB / 1.197 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.694, allocations: 33 kB / 1.197 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.6941, allocations: 43.98 kB / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.6948, allocations: 474.4 kB / 1.197 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.6949, allocations: 3.906 kB / 1.197 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.6949, allocations: 16 kB / 1.197 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.6949, allocations: 17 kB / 1.197 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/0.6956, allocations: 423.7 kB / 1.198 GB, free: 9.258 MB / 0.9512 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.002327/0.6979, allocations: 1.737 MB / 1.199 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.6984, allocations: 294.6 kB / 1.199 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.6986, allocations: 180.8 kB / 1.2 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.6988, allocations: 101 kB / 1.2 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.6988, allocations: 42.55 kB / 1.2 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/0.6988, allocations: 4 kB / 1.2 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.00183/0.7007, allocations: 1.052 MB / 1.201 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.7007, allocations: 59.41 kB / 1.201 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.7012, allocations: 457.9 kB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.7012, allocations: 29.7 kB / 1.201 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.7014, allocations: 252.1 kB / 1.202 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.7015, allocations: 122.3 kB / 1.202 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.7016, allocations: 69.64 kB / 1.202 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7017, allocations: 354.8 kB / 1.202 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.7019, allocations: 127.9 kB / 1.202 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.7022, allocations: 209.4 kB / 1.202 GB, free: 3.926 MB / 0.9512 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.001893/0.7041, allocations: 0.8623 MB / 1.203 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7041, allocations: 4 kB / 1.203 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005797/0.7047, allocations: 412.7 kB / 1.204 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7047, allocations: 8 kB / 1.204 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7047, allocations: 0 / 1.204 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7047, allocations: 4 kB / 1.204 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.705, allocations: 67.91 kB / 1.204 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.705, allocations: 4 kB / 1.204 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.7054, allocations: 24.08 kB / 1.204 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.7055, allocations: 15.98 kB / 1.204 GB, free: 2.488 MB / 0.9512 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.000216/0.7057, allocations: 221.5 kB / 1.204 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.7058, allocations: 55.38 kB / 1.204 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.7059, allocations: 60.75 kB / 1.204 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7059, allocations: 4 kB / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7059, allocations: 0 / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004558/0.7064, allocations: 404.3 kB / 1.205 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.708, allocations: 1.246 MB / 1.206 GB, free: 376 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.708, allocations: 7.984 kB / 1.206 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.7084, allocations: 71.91 kB / 1.206 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.7084, allocations: 8 kB / 1.206 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.7085, allocations: 8.5 kB / 1.206 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.7085, allocations: 12 kB / 1.206 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.7085, allocations: 7.938 kB / 1.206 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.7093, allocations: 0.6965 MB / 1.207 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.7095, allocations: 176.4 kB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.7096, allocations: 8 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.71, allocations: 21.11 kB / 1.207 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.7101, allocations: 35.91 kB / 1.207 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.7101, allocations: 20 kB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003345/0.7105, allocations: 331.1 kB / 1.207 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7105, allocations: 0 / 1.207 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005117/0.711, allocations: 136 kB / 1.207 GB, free: 14.76 MB / 0.9669 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.001251/0.7122, allocations: 1.315 MB / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.7128, allocations: 355.3 kB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7128, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.7131, allocations: 165.3 kB / 1.209 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.7148, allocations: 366.1 kB / 1.209 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/0.7198, allocations: 4.473 MB / 1.214 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.7202, allocations: 0.8861 MB / 1.215 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004985/0.7208, allocations: 132.6 kB / 1.215 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.721, allocations: 171.4 kB / 1.215 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.721, allocations: 0 / 1.215 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.7572, allocations: 15.37 MB / 1.23 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/8.192, allocations: 10.97 kB / 1.23 GB, free: 7.539 MB / 0.9825 GB (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 50 --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) 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) Reference file matches