Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 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.001415/0.001415, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.62/2.62, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5922/0.5936, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1823/0.7759, allocations: 190.3 MB / 1.203 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008381/0.7843, allocations: 5.693 MB / 1.209 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.7855, allocations: 39.75 kB / 1.209 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.7869, allocations: 0.563 MB / 1.209 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.7905, allocations: 1.618 MB / 1.211 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.7932, allocations: 1.188 MB / 1.212 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.7959, allocations: 2.502 MB / 1.215 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.7972, allocations: 0.9964 MB / 1.216 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.7988, allocations: 1.016 MB / 1.217 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.8004, allocations: 0.8159 MB / 1.217 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.8006, allocations: 104 kB / 1.217 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.803, allocations: 1.52 MB / 1.219 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.8034, allocations: 0.4909 MB / 1.219 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005884/0.804, allocations: 0.6261 MB / 1.22 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.8062, allocations: 2.088 MB / 1.222 GB, free: 128 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8062, allocations: 0 / 1.222 GB, free: 128 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8063, allocations: 0 / 1.222 GB, free: 128 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.8063, allocations: 4 kB / 1.222 GB, free: 124 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001999/0.8083, allocations: 1.468 MB / 1.224 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.8083, allocations: 12.03 kB / 1.224 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.8085, allocations: 147.2 kB / 1.224 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.8104, allocations: 326.3 kB / 1.224 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.8115, allocations: 0.7687 MB / 1.225 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/0.8118, allocations: 125.9 kB / 1.225 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.812, allocations: 83.94 kB / 1.225 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.8137, allocations: 1.09 MB / 1.226 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.8137, allocations: 7.938 kB / 1.226 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.8138, allocations: 39.98 kB / 1.226 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.8138, allocations: 34 kB / 1.226 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.8154, allocations: 0.8353 MB / 1.227 GB, free: 11.05 MB / 0.9825 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.005073/0.8205, allocations: 4.297 MB / 1.231 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.8211, allocations: 378.5 kB / 1.231 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.8214, allocations: 209.3 kB / 1.232 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.8215, allocations: 108.9 kB / 1.232 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.8216, allocations: 46.55 kB / 1.232 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 1.914e-06/0.8216, allocations: 0 / 1.232 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002474/0.8241, allocations: 1.327 MB / 1.233 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.8241, allocations: 55.41 kB / 1.233 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.8256, allocations: 1.012 MB / 1.234 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.8256, allocations: 37.7 kB / 1.234 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.826, allocations: 499.2 kB / 1.235 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.8261, allocations: 130.1 kB / 1.235 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.8263, allocations: 130.1 kB / 1.235 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8264, allocations: 334 kB / 1.235 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.8269, allocations: 237.2 kB / 1.235 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.8276, allocations: 427.8 kB / 1.236 GB, free: 1.379 MB / 0.9825 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.002469/0.83, allocations: 1.229 MB / 1.237 GB, free: 56 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.83, allocations: 0 / 1.237 GB, free: 56 kB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001406/0.8315, allocations: 0.777 MB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8315, allocations: 13.66 kB / 1.238 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8315, allocations: 7.938 kB / 1.238 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8315, allocations: 12.34 kB / 1.238 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.8321, allocations: 147.8 kB / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.8321, allocations: 11.94 kB / 1.238 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.833, allocations: 63.89 kB / 1.238 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.8331, allocations: 27.98 kB / 1.238 GB, free: 14.99 MB / 0.9981 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003993/0.8335, allocations: 315.1 kB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.8337, allocations: 102.8 kB / 1.238 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.8338, allocations: 105 kB / 1.239 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8338, allocations: 4 kB / 1.239 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8339, allocations: 0 / 1.239 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006442/0.8345, allocations: 0.6752 MB / 1.239 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.8367, allocations: 1.586 MB / 1.241 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.8368, allocations: 4 kB / 1.241 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.8372, allocations: 83.91 kB / 1.241 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.8372, allocations: 4 kB / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.8372, allocations: 23.86 kB / 1.241 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.8372, allocations: 4 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8372, allocations: 8 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000987/0.8382, allocations: 0.8298 MB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.8386, allocations: 243.8 kB / 1.242 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.8387, allocations: 19.98 kB / 1.242 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.8394, allocations: 36.17 kB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.8395, allocations: 35.91 kB / 1.242 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.8395, allocations: 27.92 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009794/0.8405, allocations: 0.7116 MB / 1.243 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8405, allocations: 8 kB / 1.243 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007789/0.8413, allocations: 256 kB / 1.243 GB, free: 9.641 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001513/0.8428, allocations: 1.479 MB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009582/0.8438, allocations: 0.5392 MB / 1.245 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.8438, allocations: 4 kB / 1.245 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.8441, allocations: 189.5 kB / 1.245 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.8467, allocations: 0.6185 MB / 1.246 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4389/1.286, allocations: 8.014 MB / 1.254 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/1.286, allocations: 1.103 MB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001071/1.287, allocations: 245.5 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/1.288, allocations: 342 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.288, allocations: 0 / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/1.344, allocations: 27.6 MB / 1.282 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/9.073, allocations: 13.34 kB / 1.282 GB, free: 221.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_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_MixingVolumeTraceSubstance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches