Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_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.0071/0.0071, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001506/0.001506, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.7421 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 64.12 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2727, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7746/1.047, allocations: 190.3 MB / 1.406 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009409/1.057, allocations: 5.705 MB / 1.411 GB, free: 12.11 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/1.058, allocations: 42.69 kB / 1.411 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/1.06, allocations: 0.5804 MB / 1.412 GB, free: 11.62 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00423/1.064, allocations: 1.674 MB / 1.413 GB, free: 10.33 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.067, allocations: 1.22 MB / 1.415 GB, free: 9.418 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003502/1.071, allocations: 2.512 MB / 1.417 GB, free: 7.992 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/1.072, allocations: 1.004 MB / 1.418 GB, free: 7.398 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/1.074, allocations: 1.068 MB / 1.419 GB, free: 6.758 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/1.076, allocations: 0.8171 MB / 1.42 GB, free: 6.281 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/1.076, allocations: 102.3 kB / 1.42 GB, free: 6.281 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/1.079, allocations: 1.531 MB / 1.421 GB, free: 5.449 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005434/1.08, allocations: 495.1 kB / 1.422 GB, free: 5.129 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007896/1.08, allocations: 0.6154 MB / 1.423 GB, free: 4.738 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/1.083, allocations: 2.118 MB / 1.425 GB, free: 3.387 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.084, allocations: 0 / 1.425 GB, free: 3.387 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.232e-06/1.084, allocations: 0 / 1.425 GB, free: 3.387 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.713e-05/1.084, allocations: 0 / 1.425 GB, free: 3.387 MB / 1.107 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.002334/1.086, allocations: 1.514 MB / 1.426 GB, free: 2.223 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/1.086, allocations: 7.281 kB / 1.426 GB, free: 2.223 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/1.086, allocations: 138.3 kB / 1.426 GB, free: 2.113 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/1.088, allocations: 340.6 kB / 1.427 GB, free: 1.957 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/1.09, allocations: 0.8147 MB / 1.427 GB, free: 1.324 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/1.09, allocations: 65.06 kB / 1.427 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.09, allocations: 83.25 kB / 1.427 GB, free: 1.266 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/1.091, allocations: 1.071 MB / 1.429 GB, free: 240 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/1.092, allocations: 7.938 kB / 1.429 GB, free: 232 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/1.092, allocations: 43.98 kB / 1.429 GB, free: 188 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/1.092, allocations: 33.98 kB / 1.429 GB, free: 152 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.093, allocations: 0.8275 MB / 1.429 GB, free: 15.32 MB / 1.123 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.005571/1.099, allocations: 4.275 MB / 1.434 GB, free: 10.77 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/1.099, allocations: 364.7 kB / 1.434 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/1.1, allocations: 210.8 kB / 1.434 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/1.1, allocations: 105.1 kB / 1.434 GB, free: 10.08 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.1, allocations: 42.55 kB / 1.434 GB, free: 10.03 MB / 1.123 GB Notification: Performance of pre-optimization done (n=36): time 2.305e-06/1.1, allocations: 0 / 1.434 GB, free: 10.03 MB / 1.123 GB Notification: Performance of matching and sorting (n=38): time 0.002535/1.103, allocations: 1.346 MB / 1.436 GB, free: 8.633 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.103, allocations: 67.08 kB / 1.436 GB, free: 8.555 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.104, allocations: 0.9966 MB / 1.437 GB, free: 7.535 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/1.104, allocations: 37.7 kB / 1.437 GB, free: 7.492 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/1.104, allocations: 0.5002 MB / 1.437 GB, free: 6.988 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/1.104, allocations: 146.8 kB / 1.437 GB, free: 6.844 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/1.105, allocations: 126.2 kB / 1.437 GB, free: 6.715 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.105, allocations: 330 kB / 1.438 GB, free: 6.387 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/1.105, allocations: 238 kB / 1.438 GB, free: 6.156 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/1.106, allocations: 419.9 kB / 1.438 GB, free: 5.668 MB / 1.123 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.002581/1.108, allocations: 1.222 MB / 1.44 GB, free: 4.348 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.109, allocations: 0 / 1.44 GB, free: 4.348 MB / 1.123 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001412/1.11, allocations: 0.7627 MB / 1.44 GB, free: 3.578 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.11, allocations: 8 kB / 1.44 GB, free: 3.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/1.11, allocations: 12.06 kB / 1.44 GB, free: 3.559 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.11, allocations: 11.94 kB / 1.44 GB, free: 3.547 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/1.111, allocations: 148.9 kB / 1.44 GB, free: 3.402 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.111, allocations: 13.56 kB / 1.441 GB, free: 3.391 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000932/1.112, allocations: 55.91 kB / 1.441 GB, free: 3.336 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/1.112, allocations: 24 kB / 1.441 GB, free: 3.312 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: 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.0004606/1.112, allocations: 319 kB / 1.441 GB, free: 2.992 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.112, allocations: 103.4 kB / 1.441 GB, free: 2.891 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/1.112, allocations: 116.9 kB / 1.441 GB, free: 2.773 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.112, allocations: 4 kB / 1.441 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.113, allocations: 4 kB / 1.441 GB, free: 2.766 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007183/1.113, allocations: 0.6753 MB / 1.442 GB, free: 2.004 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/1.116, allocations: 1.585 MB / 1.443 GB, free: 320 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.116, allocations: 8.094 kB / 1.443 GB, free: 312 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/1.116, allocations: 87.89 kB / 1.443 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.116, allocations: 4 kB / 1.443 GB, free: 220 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/1.116, allocations: 12 kB / 1.443 GB, free: 208 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/1.116, allocations: 15.86 kB / 1.443 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.116, allocations: 4 kB / 1.443 GB, free: 188 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/1.117, allocations: 0.83 MB / 1.444 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/1.118, allocations: 240.5 kB / 1.444 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.118, allocations: 23.92 kB / 1.444 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/1.118, allocations: 41.41 kB / 1.445 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/1.118, allocations: 27.91 kB / 1.445 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/1.119, allocations: 27.98 kB / 1.445 GB, free: 14.92 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009802/1.12, allocations: 0.7116 MB / 1.445 GB, free: 14.2 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.5e-07/1.12, allocations: 0 / 1.445 GB, free: 14.2 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000815/1.12, allocations: 255.9 kB / 1.446 GB, free: 13.95 MB / 1.139 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.001602/1.122, allocations: 1.489 MB / 1.447 GB, free: 12.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009292/1.123, allocations: 0.5039 MB / 1.447 GB, free: 11.88 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.123, allocations: 0 / 1.447 GB, free: 11.88 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/1.123, allocations: 194.5 kB / 1.448 GB, free: 11.7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/1.126, allocations: 0.6087 MB / 1.448 GB, free: 11.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.136, allocations: 7.642 MB / 1.456 GB, free: 3.074 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/1.137, allocations: 1.099 MB / 1.457 GB, free: 1.945 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008986/1.138, allocations: 252.3 kB / 1.457 GB, free: 1.695 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.138, allocations: 347.3 kB / 1.457 GB, free: 1.355 MB / 1.139 GB Notification: Performance of SimCode: time 6.62e-07/1.138, allocations: 0 / 1.457 GB, free: 1.355 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/1.192, allocations: 27.8 MB / 1.485 GB, free: 5.984 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.499/10.69, allocations: 3.859 kB / 1.485 GB, free: 5.98 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches