Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.006909/0.006909, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001665/0.001665, allocations: 195 kB / 16.67 MB, free: 6.379 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.56/2.56, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.258, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7344/0.9924, allocations: 190.5 MB / 1.352 GB, free: 2.801 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008828/1.001, allocations: 5.709 MB / 1.358 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/1.003, allocations: 40.97 kB / 1.358 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/1.004, allocations: 0.574 MB / 1.358 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/1.008, allocations: 1.832 MB / 1.36 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/1.011, allocations: 1.174 MB / 1.361 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003649/1.015, allocations: 2.955 MB / 1.364 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/1.016, allocations: 1.12 MB / 1.365 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/1.018, allocations: 1.055 MB / 1.366 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/1.02, allocations: 0.9689 MB / 1.367 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/1.02, allocations: 122 kB / 1.367 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/1.024, allocations: 1.452 MB / 1.369 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/1.025, allocations: 0.5673 MB / 1.369 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/1.026, allocations: 0.7182 MB / 1.37 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004293/1.031, allocations: 2.339 MB / 1.372 GB, free: 6.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.031, allocations: 0 / 1.372 GB, free: 6.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.783e-06/1.031, allocations: 4 kB / 1.372 GB, free: 6.926 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.939e-05/1.031, allocations: 1.562 kB / 1.372 GB, free: 6.926 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002938/1.034, allocations: 1.614 MB / 1.374 GB, free: 5.727 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.034, allocations: 13.61 kB / 1.374 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/1.034, allocations: 156.7 kB / 1.374 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/1.036, allocations: 331.5 kB / 1.374 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/1.038, allocations: 0.9128 MB / 1.375 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/1.038, allocations: 77.92 kB / 1.375 GB, free: 4.727 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/1.038, allocations: 101.3 kB / 1.375 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.04, allocations: 1.081 MB / 1.377 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/1.04, allocations: 0 / 1.377 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.04, allocations: 44.19 kB / 1.377 GB, free: 4.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/1.04, allocations: 38.45 kB / 1.377 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/1.042, allocations: 0.9901 MB / 1.378 GB, free: 3.574 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.006326/1.048, allocations: 4.222 MB / 1.382 GB, free: 188 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/1.049, allocations: 0.5894 MB / 1.382 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/1.05, allocations: 350.5 kB / 1.383 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.05, allocations: 111 kB / 1.383 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/1.05, allocations: 39.97 kB / 1.383 GB, free: 15.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/1.05, allocations: 3.938 kB / 1.383 GB, free: 15.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=55): time 0.00435/1.054, allocations: 2.195 MB / 1.385 GB, free: 14.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.054, allocations: 69.12 kB / 1.385 GB, free: 14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/1.056, allocations: 0.8785 MB / 1.386 GB, free: 13.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.851e-05/1.056, allocations: 39.36 kB / 1.386 GB, free: 13.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/1.056, allocations: 0.5208 MB / 1.386 GB, free: 13.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.056, allocations: 192.8 kB / 1.387 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/1.056, allocations: 129.6 kB / 1.387 GB, free: 12.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.057, allocations: 334.2 kB / 1.387 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/1.057, allocations: 284.8 kB / 1.387 GB, free: 12.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.058, allocations: 438.8 kB / 1.388 GB, free: 12 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.003968/1.062, allocations: 1.743 MB / 1.389 GB, free: 10.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.062, allocations: 2.719 kB / 1.389 GB, free: 10.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001568/1.063, allocations: 0.9216 MB / 1.39 GB, free: 10.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.063, allocations: 5.062 kB / 1.39 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.063, allocations: 4.906 kB / 1.39 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/1.064, allocations: 108.4 kB / 1.39 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/1.064, allocations: 159.9 kB / 1.391 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/1.068, allocations: 4.638 MB / 1.395 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.069, allocations: 32.48 kB / 1.395 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/1.069, allocations: 31.55 kB / 1.395 GB, free: 5.781 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005541/1.07, allocations: 346.5 kB / 1.395 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/1.07, allocations: 100.9 kB / 1.396 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/1.07, allocations: 113.6 kB / 1.396 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.07, allocations: 5.594 kB / 1.396 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.07, allocations: 0 / 1.396 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/1.071, allocations: 0.7636 MB / 1.396 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/1.075, allocations: 1.984 MB / 1.398 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.075, allocations: 2.719 kB / 1.398 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/1.075, allocations: 147.8 kB / 1.398 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/1.076, allocations: 44.23 kB / 1.399 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/1.076, allocations: 18.69 kB / 1.399 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.077, allocations: 1.605 MB / 1.4 GB, free: 1.871 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.077, allocations: 10.62 kB / 1.4 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.079, allocations: 1.212 MB / 1.401 GB, free: 1.102 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/1.079, allocations: 256.9 kB / 1.402 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.079, allocations: 13.28 kB / 1.402 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008128/1.08, allocations: 33.7 kB / 1.402 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.08, allocations: 45.25 kB / 1.402 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/1.08, allocations: 38.64 kB / 1.402 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007807/1.081, allocations: 0.6137 MB / 1.402 GB, free: 500 kB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.081, allocations: 0 / 1.402 GB, free: 500 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001028/1.082, allocations: 301.6 kB / 1.403 GB, free: 480 kB / 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002309/1.085, allocations: 1.85 MB / 1.404 GB, free: 15.13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001552/1.086, allocations: 1.017 MB / 1.405 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.086, allocations: 0 / 1.405 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/1.087, allocations: 447.9 kB / 1.406 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.09, allocations: 0.6489 MB / 1.406 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.102, allocations: 7.932 MB / 1.414 GB, free: 5.055 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/1.102, allocations: 1.166 MB / 1.415 GB, free: 3.855 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009223/1.103, allocations: 256.4 kB / 1.416 GB, free: 3.602 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/1.104, allocations: 383.3 kB / 1.416 GB, free: 3.227 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.104, allocations: 0 / 1.416 GB, free: 3.227 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06422/1.168, allocations: 30.48 MB / 1.446 GB, free: 5.281 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14, allocations: 10.75 kB / 1.446 GB, free: 5.273 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches