Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.001557/0.001557, 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.001141/0.001141, allocations: 193.1 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 62.91 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2734, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7284/1.002, allocations: 190.5 MB / 1.25 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008867/1.011, allocations: 5.706 MB / 1.255 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/1.012, allocations: 41.59 kB / 1.255 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/1.013, allocations: 0.5651 MB / 1.256 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003549/1.017, allocations: 1.61 MB / 1.257 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/1.02, allocations: 1.205 MB / 1.259 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002966/1.023, allocations: 2.556 MB / 1.261 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/1.024, allocations: 1.044 MB / 1.262 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/1.026, allocations: 1.035 MB / 1.263 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/1.027, allocations: 0.849 MB / 1.264 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/1.028, allocations: 111 kB / 1.264 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/1.03, allocations: 1.552 MB / 1.266 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004961/1.031, allocations: 0.5006 MB / 1.266 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006812/1.031, allocations: 0.6428 MB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/1.035, allocations: 2.155 MB / 1.269 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.035, allocations: 0 / 1.269 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/1.035, allocations: 0 / 1.269 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.709e-05/1.035, allocations: 0.9062 kB / 1.269 GB, free: 4.332 MB / 0.9981 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.002688/1.037, allocations: 1.52 MB / 1.27 GB, free: 19.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.037, allocations: 13.19 kB / 1.27 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/1.038, allocations: 142.2 kB / 1.27 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/1.041, allocations: 472.5 kB / 1.271 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/1.042, allocations: 0.8214 MB / 1.272 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/1.043, allocations: 121.1 kB / 1.272 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.043, allocations: 85.02 kB / 1.272 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/1.045, allocations: 1.19 MB / 1.273 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/1.045, allocations: 2.219 kB / 1.273 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.045, allocations: 37.75 kB / 1.273 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/1.045, allocations: 36.53 kB / 1.273 GB, free: 19.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/1.048, allocations: 1.077 MB / 1.274 GB, free: 19 MB / 1.014 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.007675/1.056, allocations: 4.355 MB / 1.278 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/1.058, allocations: 0.7622 MB / 1.279 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009889/1.059, allocations: 415.4 kB / 1.28 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/1.059, allocations: 103 kB / 1.28 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.059, allocations: 42.36 kB / 1.28 GB, free: 17.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/1.059, allocations: 0.9375 kB / 1.28 GB, free: 17.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.005948/1.065, allocations: 2.198 MB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.065, allocations: 56.78 kB / 1.282 GB, free: 16.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.066, allocations: 0.8618 MB / 1.283 GB, free: 16.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/1.066, allocations: 36.83 kB / 1.283 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/1.067, allocations: 499.8 kB / 1.283 GB, free: 16.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.067, allocations: 164.4 kB / 1.283 GB, free: 16.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.067, allocations: 122.3 kB / 1.284 GB, free: 16.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/1.067, allocations: 331.9 kB / 1.284 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/1.068, allocations: 377.8 kB / 1.284 GB, free: 15.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/1.069, allocations: 0.5007 MB / 1.285 GB, free: 15.57 MB / 1.014 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.006409/1.075, allocations: 2.294 MB / 1.287 GB, free: 15.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.075, allocations: 2.312 kB / 1.287 GB, free: 15.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002463/1.078, allocations: 0.9964 MB / 1.288 GB, free: 15.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.078, allocations: 13.16 kB / 1.288 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.078, allocations: 3.281 kB / 1.288 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.078, allocations: 7.688 kB / 1.288 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009682/1.079, allocations: 197.9 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.079, allocations: 10.59 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.08, allocations: 66.48 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/1.08, allocations: 29.7 kB / 1.288 GB, free: 15.18 MB / 1.014 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.0005066/1.081, allocations: 315.6 kB / 1.289 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/1.081, allocations: 99 kB / 1.289 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/1.081, allocations: 101.3 kB / 1.289 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.081, allocations: 4.844 kB / 1.289 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.081, allocations: 2.156 kB / 1.289 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002061/1.083, allocations: 1.041 MB / 1.29 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/1.088, allocations: 2.159 MB / 1.292 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.088, allocations: 3.281 kB / 1.292 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/1.089, allocations: 169.9 kB / 1.292 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.089, allocations: 9.031 kB / 1.292 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/1.089, allocations: 24.05 kB / 1.292 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.089, allocations: 5.656 kB / 1.292 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.089, allocations: 7.062 kB / 1.292 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/1.092, allocations: 1.429 MB / 1.293 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/1.092, allocations: 250.6 kB / 1.294 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/1.092, allocations: 20.81 kB / 1.294 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009576/1.093, allocations: 69.72 kB / 1.294 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/1.093, allocations: 35.86 kB / 1.294 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/1.094, allocations: 36 kB / 1.294 GB, free: 13.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007542/1.094, allocations: 0.6043 MB / 1.294 GB, free: 13.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.42e-07/1.094, allocations: 0 / 1.294 GB, free: 13.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009266/1.095, allocations: 266.5 kB / 1.295 GB, free: 13.49 MB / 1.014 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.00369/1.099, allocations: 2.08 MB / 1.297 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00233/1.101, allocations: 0.8893 MB / 1.298 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/1.101, allocations: 1.375 kB / 1.298 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009531/1.102, allocations: 398.5 kB / 1.298 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.105, allocations: 0.5863 MB / 1.299 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.119, allocations: 8.565 MB / 1.307 GB, free: 9.473 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/1.119, allocations: 1.109 MB / 1.308 GB, free: 8.762 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001105/1.12, allocations: 260.8 kB / 1.308 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/1.121, allocations: 351 kB / 1.309 GB, free: 8.699 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.121, allocations: 0 / 1.309 GB, free: 8.699 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/1.169, allocations: 28.53 MB / 1.336 GB, free: 332 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/9.146, allocations: 7.547 kB / 1.336 GB, free: 324 kB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches