Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.007517/0.007518, allocations: 102.4 kB / 15.73 MB, free: 6.012 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.001517/0.001517, allocations: 197.7 kB / 16.68 MB, free: 5.93 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.187/2.187, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6961, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2047/0.9008, allocations: 190.5 MB / 1.274 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009126/0.91, allocations: 5.709 MB / 1.279 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.9113, allocations: 39.75 kB / 1.279 GB, free: 9.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.9129, allocations: 0.5669 MB / 1.28 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.917, allocations: 1.61 MB / 1.281 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.9201, allocations: 1.214 MB / 1.282 GB, free: 6.031 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003291/0.9234, allocations: 2.569 MB / 1.285 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.9249, allocations: 1.032 MB / 1.286 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.9267, allocations: 1.047 MB / 1.287 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.9285, allocations: 0.8577 MB / 1.288 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.9287, allocations: 108 kB / 1.288 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.9314, allocations: 1.555 MB / 1.289 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.932, allocations: 0.4987 MB / 1.29 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008465/0.9328, allocations: 0.6339 MB / 1.291 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.9357, allocations: 2.185 MB / 1.293 GB, free: 11.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9357, allocations: 0 / 1.293 GB, free: 11.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9357, allocations: 0 / 1.293 GB, free: 11.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.912e-05/0.9358, allocations: 0 / 1.293 GB, free: 11.51 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002675/0.9384, allocations: 1.519 MB / 1.294 GB, free: 9.941 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.9385, allocations: 8.031 kB / 1.294 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.9387, allocations: 139.3 kB / 1.294 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/0.9419, allocations: 470.1 kB / 1.295 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.9435, allocations: 0.8591 MB / 1.296 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.9436, allocations: 69.98 kB / 1.296 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.9438, allocations: 80 kB / 1.296 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.9461, allocations: 1.175 MB / 1.297 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.9461, allocations: 3.938 kB / 1.297 GB, free: 7.078 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9462, allocations: 36 kB / 1.297 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.9463, allocations: 37.98 kB / 1.297 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.9487, allocations: 1.066 MB / 1.298 GB, free: 5.938 MB / 1.029 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.007103/0.9559, allocations: 4.303 MB / 1.302 GB, free: 1.367 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.9579, allocations: 0.7521 MB / 1.303 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009816/0.9589, allocations: 401.9 kB / 1.303 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.9591, allocations: 105.1 kB / 1.303 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.9592, allocations: 46.55 kB / 1.303 GB, free: 36 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.9592, allocations: 0 / 1.303 GB, free: 36 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.005958/0.9651, allocations: 2.178 MB / 1.306 GB, free: 13.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.9652, allocations: 55.41 kB / 1.306 GB, free: 13.74 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.9662, allocations: 0.8686 MB / 1.306 GB, free: 12.86 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.9663, allocations: 33.7 kB / 1.307 GB, free: 12.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.9667, allocations: 491.3 kB / 1.307 GB, free: 12.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.9668, allocations: 165.6 kB / 1.307 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.967, allocations: 118.2 kB / 1.307 GB, free: 12.05 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9672, allocations: 338 kB / 1.308 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/0.9682, allocations: 365 kB / 1.308 GB, free: 11.36 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.9692, allocations: 0.5013 MB / 1.308 GB, free: 10.81 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006309/0.9756, allocations: 2.259 MB / 1.311 GB, free: 8.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9756, allocations: 7.938 kB / 1.311 GB, free: 8.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002368/0.9779, allocations: 0.982 MB / 1.312 GB, free: 7.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.978, allocations: 8 kB / 1.312 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.978, allocations: 4 kB / 1.312 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.978, allocations: 16.05 kB / 1.312 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/0.979, allocations: 187.7 kB / 1.312 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.979, allocations: 15.94 kB / 1.312 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.9801, allocations: 63.92 kB / 1.312 GB, free: 7.191 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.9801, allocations: 28 kB / 1.312 GB, free: 7.164 MB / 1.045 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * 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.0004757/0.9806, allocations: 322.1 kB / 1.312 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.9808, allocations: 94.88 kB / 1.312 GB, free: 6.746 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.981, allocations: 104.7 kB / 1.312 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.981, allocations: 7.938 kB / 1.312 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.981, allocations: 0 / 1.312 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002025/0.983, allocations: 1.034 MB / 1.313 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.9878, allocations: 2.125 MB / 1.315 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9878, allocations: 8.031 kB / 1.315 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008873/0.9887, allocations: 167.7 kB / 1.316 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.9888, allocations: 8 kB / 1.316 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.9888, allocations: 19.98 kB / 1.316 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.9888, allocations: 4 kB / 1.316 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.9888, allocations: 11.88 kB / 1.316 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.9919, allocations: 1.403 MB / 1.317 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.9923, allocations: 255.9 kB / 1.317 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.9925, allocations: 15.98 kB / 1.317 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009261/0.9934, allocations: 69.47 kB / 1.317 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.848e-05/0.9935, allocations: 39.89 kB / 1.317 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.9936, allocations: 27.98 kB / 1.317 GB, free: 1.199 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007522/0.9943, allocations: 0.6005 MB / 1.318 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.059e-05/0.9944, allocations: 3.938 kB / 1.318 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008437/0.9952, allocations: 275.9 kB / 1.318 GB, free: 340 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.003772/0.999, allocations: 2.075 MB / 1.32 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00213/1.001, allocations: 0.8076 MB / 1.321 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.001, allocations: 4 kB / 1.321 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009808/1.002, allocations: 384.5 kB / 1.321 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.005, allocations: 0.5845 MB / 1.322 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.019, allocations: 8.183 MB / 1.33 GB, free: 3.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/1.02, allocations: 1.114 MB / 1.331 GB, free: 2.797 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000847/1.021, allocations: 255.8 kB / 1.331 GB, free: 2.543 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/1.021, allocations: 359.3 kB / 1.332 GB, free: 2.195 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/1.021, allocations: 0 / 1.332 GB, free: 2.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05435/1.075, allocations: 28.71 MB / 1.36 GB, free: 5.996 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/10.07, allocations: 10.75 kB / 1.36 GB, free: 5.992 MB / 1.092 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches