Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_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.00155/0.00155, allocations: 108 kB / 15.6 MB, free: 132 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.001748/0.001748, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 68.14 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5253, allocations: 140.4 MB / 0.9497 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1623/0.6876, allocations: 170.8 MB / 1.117 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005016/0.6926, allocations: 3.39 MB / 1.12 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.6932, allocations: 23.88 kB / 1.12 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.6941, allocations: 306.1 kB / 1.12 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.6963, allocations: 1.019 MB / 1.121 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.6979, allocations: 0.6641 MB / 1.122 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.6994, allocations: 1.525 MB / 1.123 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005677/0.6999, allocations: 481.4 kB / 1.124 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007202/0.7007, allocations: 0.5603 MB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008755/0.7016, allocations: 470.2 kB / 1.125 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.862e-05/0.7017, allocations: 55.94 kB / 1.125 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.7031, allocations: 0.8301 MB / 1.126 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.7033, allocations: 239.4 kB / 1.126 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.7037, allocations: 334.6 kB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.7051, allocations: 1.122 MB / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7051, allocations: 0 / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7051, allocations: 0 / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.7051, allocations: 0 / 1.127 GB, free: 11.47 MB / 0.8887 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.001315/0.7064, allocations: 0.9155 MB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.7065, allocations: 8.031 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.406e-05/0.7066, allocations: 90.52 kB / 1.128 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.7078, allocations: 171.2 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.7085, allocations: 0.5013 MB / 1.129 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.7085, allocations: 33 kB / 1.129 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.7086, allocations: 44 kB / 1.129 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.7093, allocations: 478.2 kB / 1.129 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7093, allocations: 4 kB / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.7094, allocations: 20 kB / 1.129 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.7094, allocations: 17 kB / 1.129 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.7101, allocations: 411.7 kB / 1.13 GB, free: 8.691 MB / 0.8887 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.002367/0.7124, allocations: 1.747 MB / 1.132 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.7129, allocations: 294.7 kB / 1.132 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.7132, allocations: 173.3 kB / 1.132 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.7133, allocations: 105 kB / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.7134, allocations: 42.5 kB / 1.132 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 3.016e-06/0.7134, allocations: 3.984 kB / 1.132 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.00184/0.7152, allocations: 1.051 MB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.7153, allocations: 55.41 kB / 1.133 GB, free: 5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.7157, allocations: 457.9 kB / 1.134 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.7158, allocations: 37.7 kB / 1.134 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.716, allocations: 252.1 kB / 1.134 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.7161, allocations: 114.3 kB / 1.134 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.7162, allocations: 65.7 kB / 1.134 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7163, allocations: 358.7 kB / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.7165, allocations: 127.9 kB / 1.135 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.7168, allocations: 193.9 kB / 1.135 GB, free: 3.371 MB / 0.8887 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.001869/0.7186, allocations: 0.867 MB / 1.136 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7186, allocations: 0 / 1.136 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005781/0.7192, allocations: 416.5 kB / 1.136 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7193, allocations: 10.03 kB / 1.136 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7193, allocations: 0 / 1.136 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.7193, allocations: 4 kB / 1.136 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.7196, allocations: 80.03 kB / 1.136 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.7196, allocations: 4 kB / 1.136 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.72, allocations: 8 kB / 1.136 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.7201, allocations: 19.98 kB / 1.136 GB, free: 1.93 MB / 0.8887 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.0002423/0.7203, allocations: 209.6 kB / 1.136 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.7204, allocations: 55.34 kB / 1.136 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.7205, allocations: 56.77 kB / 1.136 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7205, allocations: 7.984 kB / 1.136 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7205, allocations: 8 kB / 1.136 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004715/0.721, allocations: 408.5 kB / 1.137 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.7227, allocations: 1.241 MB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7227, allocations: 4.5 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.7231, allocations: 79.89 kB / 1.138 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7231, allocations: 4 kB / 1.138 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.7231, allocations: 12 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.7231, allocations: 11.94 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.7231, allocations: 4 kB / 1.138 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.724, allocations: 0.6995 MB / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.7242, allocations: 172.4 kB / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.7243, allocations: 8 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.7247, allocations: 19.98 kB / 1.139 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.7248, allocations: 31.97 kB / 1.139 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.7248, allocations: 20 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003428/0.7252, allocations: 331 kB / 1.139 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7252, allocations: 0 / 1.139 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005191/0.7257, allocations: 144 kB / 1.14 GB, free: 14.2 MB / 0.9044 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.001271/0.727, allocations: 1.32 MB / 1.141 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005574/0.7275, allocations: 348.3 kB / 1.141 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7275, allocations: 0 / 1.141 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.7278, allocations: 164.9 kB / 1.141 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.7295, allocations: 362.7 kB / 1.142 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.7347, allocations: 4.478 MB / 1.146 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.7351, allocations: 0.8823 MB / 1.147 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005163/0.7357, allocations: 132.6 kB / 1.147 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.7359, allocations: 167.4 kB / 1.147 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.7359, allocations: 0 / 1.147 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.7695, allocations: 15.38 MB / 1.162 GB, free: 6.988 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.352, allocations: 3.984 kB / 1.162 GB, free: 6.984 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches