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.004812/0.004812, allocations: 99.8 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.001142/0.001142, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.505/2.505, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2637, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7526/1.016, allocations: 190.5 MB / 1.352 GB, free: 2.766 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009912/1.026, allocations: 5.708 MB / 1.358 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/1.028, allocations: 41.75 kB / 1.358 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/1.03, allocations: 0.5975 MB / 1.358 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004916/1.035, allocations: 1.672 MB / 1.36 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/1.039, allocations: 1.225 MB / 1.361 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004031/1.043, allocations: 2.565 MB / 1.364 GB, free: 11.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/1.044, allocations: 1.029 MB / 1.365 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/1.047, allocations: 1.093 MB / 1.366 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/1.049, allocations: 0.8454 MB / 1.367 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/1.05, allocations: 108.9 kB / 1.367 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/1.053, allocations: 1.556 MB / 1.368 GB, free: 9.574 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007587/1.054, allocations: 0.4997 MB / 1.369 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/1.055, allocations: 0.6439 MB / 1.369 GB, free: 8.824 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/1.059, allocations: 2.185 MB / 1.372 GB, free: 7.422 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.059, allocations: 0 / 1.372 GB, free: 7.422 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/1.059, allocations: 1.5 kB / 1.372 GB, free: 7.422 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.925e-05/1.059, allocations: 0 / 1.372 GB, free: 7.422 MB / 1.045 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.002964/1.062, allocations: 1.551 MB / 1.373 GB, free: 6.238 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.062, allocations: 9 kB / 1.373 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/1.062, allocations: 140.7 kB / 1.373 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/1.065, allocations: 479.7 kB / 1.374 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/1.067, allocations: 0.8697 MB / 1.374 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/1.067, allocations: 60.38 kB / 1.375 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.067, allocations: 89.7 kB / 1.375 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/1.07, allocations: 1.174 MB / 1.376 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.07, allocations: 3.938 kB / 1.376 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/1.07, allocations: 38.09 kB / 1.376 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/1.07, allocations: 35.58 kB / 1.376 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/1.072, allocations: 1.067 MB / 1.377 GB, free: 3.957 MB / 1.045 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.007181/1.079, allocations: 4.323 MB / 1.381 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/1.081, allocations: 0.7414 MB / 1.382 GB, free: 136 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009516/1.082, allocations: 404 kB / 1.382 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/1.082, allocations: 105.4 kB / 1.382 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/1.083, allocations: 39.44 kB / 1.382 GB, free: 15.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/1.083, allocations: 0 / 1.382 GB, free: 15.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.006482/1.089, allocations: 2.198 MB / 1.385 GB, free: 14.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.089, allocations: 58.12 kB / 1.385 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/1.09, allocations: 0.8645 MB / 1.385 GB, free: 13.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.091, allocations: 35.77 kB / 1.385 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/1.091, allocations: 0.497 MB / 1.386 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/1.091, allocations: 166.4 kB / 1.386 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/1.091, allocations: 127.5 kB / 1.386 GB, free: 13.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.091, allocations: 332.8 kB / 1.387 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009678/1.092, allocations: 361.9 kB / 1.387 GB, free: 12.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.094, allocations: 0.5096 MB / 1.387 GB, free: 12.43 MB / 1.061 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.006415/1.1, allocations: 2.257 MB / 1.39 GB, free: 11.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/1.1, allocations: 0 / 1.39 GB, free: 11.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002459/1.102, allocations: 0.9834 MB / 1.391 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.103, allocations: 11.36 kB / 1.391 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.103, allocations: 6.812 kB / 1.391 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.103, allocations: 6.844 kB / 1.391 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/1.104, allocations: 192.9 kB / 1.391 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.104, allocations: 15.3 kB / 1.391 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.105, allocations: 60.16 kB / 1.391 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/1.105, allocations: 28.5 kB / 1.391 GB, free: 10.62 MB / 1.061 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.0005484/1.105, allocations: 322.4 kB / 1.391 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/1.106, allocations: 99.33 kB / 1.391 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/1.106, allocations: 101.8 kB / 1.391 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.106, allocations: 9.062 kB / 1.391 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.106, allocations: 4 kB / 1.391 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002063/1.108, allocations: 1.024 MB / 1.392 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/1.113, allocations: 2.135 MB / 1.394 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.113, allocations: 2.906 kB / 1.394 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009059/1.114, allocations: 169.2 kB / 1.395 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.114, allocations: 5.25 kB / 1.395 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/1.114, allocations: 19.77 kB / 1.395 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.114, allocations: 4.531 kB / 1.395 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.114, allocations: 9.219 kB / 1.395 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/1.117, allocations: 1.414 MB / 1.396 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/1.118, allocations: 265.2 kB / 1.396 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.118, allocations: 17.33 kB / 1.396 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.119, allocations: 66.94 kB / 1.396 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/1.119, allocations: 41.77 kB / 1.396 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/1.119, allocations: 29.34 kB / 1.396 GB, free: 6.863 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008995/1.12, allocations: 0.5977 MB / 1.397 GB, free: 6.531 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.31e-07/1.12, allocations: 0 / 1.397 GB, free: 6.531 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001077/1.121, allocations: 271.8 kB / 1.397 GB, free: 6.504 MB / 1.061 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.003949/1.125, allocations: 2.089 MB / 1.399 GB, free: 5.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.128, allocations: 0.8131 MB / 1.4 GB, free: 4.375 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.128, allocations: 4 kB / 1.4 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.129, allocations: 392.9 kB / 1.4 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.132, allocations: 0.5812 MB / 1.401 GB, free: 3.422 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.148, allocations: 8.211 MB / 1.409 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/1.149, allocations: 1.11 MB / 1.41 GB, free: 9.762 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001045/1.151, allocations: 267.8 kB / 1.41 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/1.151, allocations: 351.3 kB / 1.411 GB, free: 9.152 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/1.151, allocations: 0 / 1.411 GB, free: 9.152 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/1.207, allocations: 28.73 MB / 1.439 GB, free: 12.95 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.322/10.53, allocations: 4.656 kB / 1.439 GB, free: 12.95 MB / 1.107 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