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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004375/0.004375, allocations: 97.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 64.12 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2738, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6927/0.9665, allocations: 170.8 MB / 1.387 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005568/0.9721, allocations: 3.38 MB / 1.39 GB, free: 13.24 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004462/0.9726, allocations: 21.44 kB / 1.39 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.9735, allocations: 320.7 kB / 1.391 GB, free: 12.97 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.9757, allocations: 1.009 MB / 1.392 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.9773, allocations: 0.6681 MB / 1.392 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.9791, allocations: 1.529 MB / 1.394 GB, free: 10.81 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.9797, allocations: 479.8 kB / 1.394 GB, free: 10.52 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008039/0.9805, allocations: 0.5623 MB / 1.395 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.9816, allocations: 470.2 kB / 1.395 GB, free: 9.914 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.9817, allocations: 54.19 kB / 1.395 GB, free: 9.914 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.9832, allocations: 0.8284 MB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.9834, allocations: 236.9 kB / 1.396 GB, free: 9.312 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.9838, allocations: 346.7 kB / 1.397 GB, free: 9.094 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.9853, allocations: 1.137 MB / 1.398 GB, free: 8.363 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9853, allocations: 0.9688 kB / 1.398 GB, free: 8.363 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9854, allocations: 0 / 1.398 GB, free: 8.363 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9854, allocations: 0 / 1.398 GB, free: 8.363 MB / 1.092 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.001411/0.9868, allocations: 0.9314 MB / 1.399 GB, free: 7.598 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.9868, allocations: 10.38 kB / 1.399 GB, free: 7.598 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.987, allocations: 86.67 kB / 1.399 GB, free: 7.52 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.9882, allocations: 170.8 kB / 1.399 GB, free: 7.445 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.989, allocations: 0.5319 MB / 1.399 GB, free: 7 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.989, allocations: 31.66 kB / 1.399 GB, free: 6.988 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/0.9891, allocations: 47.52 kB / 1.399 GB, free: 6.969 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/0.9899, allocations: 469.5 kB / 1.4 GB, free: 6.703 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.9899, allocations: 1.031 kB / 1.4 GB, free: 6.703 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.99, allocations: 16.5 kB / 1.4 GB, free: 6.691 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.99, allocations: 19.75 kB / 1.4 GB, free: 6.688 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006757/0.9907, allocations: 411.7 kB / 1.4 GB, free: 6.488 MB / 1.092 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.00256/0.9933, allocations: 1.735 MB / 1.402 GB, free: 5.043 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.9938, allocations: 299.1 kB / 1.402 GB, free: 4.883 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.994, allocations: 180.8 kB / 1.402 GB, free: 4.793 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.9942, allocations: 107.1 kB / 1.403 GB, free: 4.684 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.9943, allocations: 37.41 kB / 1.403 GB, free: 4.641 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.9943, allocations: 0.5938 kB / 1.403 GB, free: 4.641 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001994/0.9963, allocations: 1.068 MB / 1.404 GB, free: 3.934 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.9963, allocations: 59.53 kB / 1.404 GB, free: 3.867 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.9968, allocations: 456.9 kB / 1.404 GB, free: 3.594 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.9969, allocations: 35.89 kB / 1.404 GB, free: 3.555 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.9971, allocations: 259.6 kB / 1.404 GB, free: 3.324 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.9972, allocations: 121.3 kB / 1.405 GB, free: 3.219 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.9974, allocations: 73.3 kB / 1.405 GB, free: 3.168 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9975, allocations: 351.2 kB / 1.405 GB, free: 2.828 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.9978, allocations: 138.8 kB / 1.405 GB, free: 2.754 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.998, allocations: 204.6 kB / 1.405 GB, free: 2.609 MB / 1.092 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.001985/1, allocations: 0.8617 MB / 1.406 GB, free: 2.09 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1, allocations: 1.375 kB / 1.406 GB, free: 2.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006307/1.001, allocations: 411.9 kB / 1.407 GB, free: 1.875 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.001, allocations: 6.375 kB / 1.407 GB, free: 1.875 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.001, allocations: 5.688 kB / 1.407 GB, free: 1.871 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.001, allocations: 4.125 kB / 1.407 GB, free: 1.871 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/1.001, allocations: 71.5 kB / 1.407 GB, free: 1.855 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.001, allocations: 6.609 kB / 1.407 GB, free: 1.852 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/1.001, allocations: 11 kB / 1.407 GB, free: 1.848 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/1.002, allocations: 13 kB / 1.407 GB, free: 1.844 MB / 1.092 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.0002508/1.002, allocations: 208.1 kB / 1.407 GB, free: 1.672 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/1.002, allocations: 57.23 kB / 1.407 GB, free: 1.641 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/1.002, allocations: 67.53 kB / 1.407 GB, free: 1.59 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.002, allocations: 11.73 kB / 1.407 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.002, allocations: 0 / 1.407 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005147/1.003, allocations: 401.4 kB / 1.407 GB, free: 1.301 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/1.004, allocations: 1.247 MB / 1.409 GB, free: 344 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.004, allocations: 8.75 kB / 1.409 GB, free: 340 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/1.005, allocations: 74.75 kB / 1.409 GB, free: 324 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.005, allocations: 4.844 kB / 1.409 GB, free: 324 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/1.005, allocations: 12.22 kB / 1.409 GB, free: 320 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.005, allocations: 6.5 kB / 1.409 GB, free: 320 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.005, allocations: 10.45 kB / 1.409 GB, free: 312 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/1.006, allocations: 0.7007 MB / 1.409 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/1.006, allocations: 170.7 kB / 1.41 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/1.006, allocations: 9.062 kB / 1.41 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/1.006, allocations: 23.92 kB / 1.41 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/1.006, allocations: 33.09 kB / 1.41 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/1.007, allocations: 20.92 kB / 1.41 GB, free: 15.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003443/1.007, allocations: 331.4 kB / 1.41 GB, free: 15.39 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.286e-06/1.007, allocations: 0 / 1.41 GB, free: 15.39 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000509/1.007, allocations: 144.7 kB / 1.41 GB, free: 15.38 MB / 1.107 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.001415/1.009, allocations: 1.322 MB / 1.411 GB, free: 14.28 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005191/1.009, allocations: 319.4 kB / 1.412 GB, free: 14.14 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.009, allocations: 2.469 kB / 1.412 GB, free: 14.14 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/1.01, allocations: 167 kB / 1.412 GB, free: 14.06 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.011, allocations: 359.6 kB / 1.412 GB, free: 13.89 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/1.017, allocations: 4.429 MB / 1.416 GB, free: 10.77 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/1.017, allocations: 0.8874 MB / 1.417 GB, free: 9.977 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003934/1.018, allocations: 126 kB / 1.417 GB, free: 9.926 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/1.018, allocations: 170.7 kB / 1.418 GB, free: 9.793 MB / 1.107 GB Notification: Performance of SimCode: time 2.71e-07/1.018, allocations: 0 / 1.418 GB, free: 9.793 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/1.059, allocations: 15.47 MB / 1.433 GB, free: 11.31 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/9.426, allocations: 4.875 kB / 1.433 GB, free: 11.3 MB / 1.123 GB (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) 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) Reference file matches