Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_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.007407/0.007407, allocations: 100.7 kB / 15.73 MB, free: 6.023 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.001825/0.001825, allocations: 195.1 kB / 16.67 MB, free: 5.934 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.543/2.543, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 67.89 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7285, allocations: 151.6 MB / 1.166 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2125/0.941, allocations: 190.5 MB / 1.352 GB, free: 4.492 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009261/0.9503, allocations: 5.704 MB / 1.358 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.9511, allocations: 39.81 kB / 1.358 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.9524, allocations: 0.5708 MB / 1.358 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.9559, allocations: 1.61 MB / 1.36 GB, free: 12.54 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.9587, allocations: 1.211 MB / 1.361 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003022/0.9617, allocations: 2.559 MB / 1.364 GB, free: 8.773 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.9631, allocations: 1.037 MB / 1.365 GB, free: 7.719 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.9647, allocations: 1.047 MB / 1.366 GB, free: 6.668 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.9664, allocations: 0.8522 MB / 1.367 GB, free: 5.82 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.9666, allocations: 108 kB / 1.367 GB, free: 5.715 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.9694, allocations: 1.555 MB / 1.368 GB, free: 4.156 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.9699, allocations: 0.5026 MB / 1.369 GB, free: 3.652 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000718/0.9707, allocations: 0.6378 MB / 1.369 GB, free: 3.012 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.9737, allocations: 2.192 MB / 1.371 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9737, allocations: 0 / 1.371 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9737, allocations: 0 / 1.371 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.9737, allocations: 0 / 1.371 GB, free: 0.8125 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00259/0.9763, allocations: 1.552 MB / 1.373 GB, free: 15.2 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.9764, allocations: 8.031 kB / 1.373 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.9766, allocations: 139.3 kB / 1.373 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.9796, allocations: 478.8 kB / 1.373 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.9812, allocations: 0.8637 MB / 1.374 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.9813, allocations: 69.98 kB / 1.374 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.9815, allocations: 83.95 kB / 1.374 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.9838, allocations: 1.179 MB / 1.376 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.9839, allocations: 0 / 1.376 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.984, allocations: 35.98 kB / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/0.984, allocations: 38 kB / 1.376 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.9866, allocations: 1.066 MB / 1.377 GB, free: 11.19 MB / 1.107 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.007194/0.9938, allocations: 4.317 MB / 1.381 GB, free: 6.613 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.9959, allocations: 0.7517 MB / 1.382 GB, free: 5.855 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.997, allocations: 403.2 kB / 1.382 GB, free: 5.461 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.9972, allocations: 105.8 kB / 1.382 GB, free: 5.34 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.9973, allocations: 42.56 kB / 1.382 GB, free: 5.289 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.9973, allocations: 0 / 1.382 GB, free: 5.289 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.006043/1.003, allocations: 2.196 MB / 1.384 GB, free: 3.043 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.003, allocations: 55.41 kB / 1.384 GB, free: 2.977 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.005, allocations: 0.8686 MB / 1.385 GB, free: 2.098 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/1.005, allocations: 33.7 kB / 1.385 GB, free: 2.059 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/1.005, allocations: 0.4924 MB / 1.386 GB, free: 1.559 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/1.005, allocations: 170.6 kB / 1.386 GB, free: 1.391 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.005, allocations: 126.2 kB / 1.386 GB, free: 1.262 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.006, allocations: 330 kB / 1.386 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.007, allocations: 369 kB / 1.387 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.008, allocations: 0.5014 MB / 1.387 GB, free: 20 kB / 1.107 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.006584/1.014, allocations: 2.266 MB / 1.389 GB, free: 13.69 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.014, allocations: 4 kB / 1.389 GB, free: 13.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00253/1.017, allocations: 0.9903 MB / 1.39 GB, free: 12.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.017, allocations: 12.12 kB / 1.39 GB, free: 12.67 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.017, allocations: 4 kB / 1.39 GB, free: 12.67 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.017, allocations: 7.938 kB / 1.39 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/1.018, allocations: 187.7 kB / 1.391 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.018, allocations: 11.98 kB / 1.391 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/1.019, allocations: 59.94 kB / 1.391 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/1.019, allocations: 31.98 kB / 1.391 GB, free: 12.38 MB / 1.123 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.0005112/1.02, allocations: 311.8 kB / 1.391 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/1.02, allocations: 103.3 kB / 1.391 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/1.02, allocations: 104.8 kB / 1.391 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.02, allocations: 11.94 kB / 1.391 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.02, allocations: 0 / 1.391 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002168/1.022, allocations: 1.018 MB / 1.392 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/1.027, allocations: 2.142 MB / 1.394 GB, free: 8.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.027, allocations: 4 kB / 1.394 GB, free: 8.496 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/1.028, allocations: 164.1 kB / 1.394 GB, free: 8.336 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.028, allocations: 4 kB / 1.394 GB, free: 8.332 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/1.028, allocations: 19.98 kB / 1.394 GB, free: 8.312 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.028, allocations: 8 kB / 1.394 GB, free: 8.305 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.028, allocations: 11.88 kB / 1.395 GB, free: 8.293 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/1.031, allocations: 1.415 MB / 1.396 GB, free: 6.824 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/1.032, allocations: 260.4 kB / 1.396 GB, free: 6.551 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/1.032, allocations: 20 kB / 1.396 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/1.033, allocations: 63.92 kB / 1.396 GB, free: 6.469 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/1.033, allocations: 39.84 kB / 1.396 GB, free: 6.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/1.033, allocations: 31.97 kB / 1.396 GB, free: 6.398 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008417/1.034, allocations: 0.5966 MB / 1.397 GB, free: 5.805 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.034, allocations: 0 / 1.397 GB, free: 5.805 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008175/1.035, allocations: 275.9 kB / 1.397 GB, free: 5.535 MB / 1.123 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.003997/1.039, allocations: 2.083 MB / 1.399 GB, free: 3.391 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002219/1.041, allocations: 0.8195 MB / 1.4 GB, free: 2.574 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.041, allocations: 4 kB / 1.4 GB, free: 2.57 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.042, allocations: 389 kB / 1.4 GB, free: 2.191 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.045, allocations: 0.575 MB / 1.401 GB, free: 1.621 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.06, allocations: 8.21 MB / 1.409 GB, free: 9.098 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/1.061, allocations: 1.106 MB / 1.41 GB, free: 7.965 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00095/1.062, allocations: 263.8 kB / 1.41 GB, free: 7.703 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/1.063, allocations: 355.3 kB / 1.411 GB, free: 7.355 MB / 1.139 GB Notification: Performance of SimCode: time 2.325e-06/1.063, allocations: 0 / 1.411 GB, free: 7.355 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/1.126, allocations: 28.72 MB / 1.439 GB, free: 11.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.813/10.94, allocations: 4.031 kB / 1.439 GB, free: 11.09 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches