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.004623/0.004623, allocations: 95.42 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.001102/0.001102, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.579/2.579, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2591, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7265/0.9856, allocations: 190.3 MB / 1.352 GB, free: 2.902 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008721/0.9944, allocations: 5.695 MB / 1.358 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009736/0.9954, allocations: 41.59 kB / 1.358 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.9968, allocations: 0.5883 MB / 1.358 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/1, allocations: 1.673 MB / 1.36 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/1.003, allocations: 1.212 MB / 1.361 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00307/1.006, allocations: 2.518 MB / 1.363 GB, free: 11.83 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/1.008, allocations: 0.9944 MB / 1.364 GB, free: 11.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/1.009, allocations: 1.065 MB / 1.366 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/1.011, allocations: 0.8145 MB / 1.366 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/1.011, allocations: 100.1 kB / 1.366 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/1.014, allocations: 1.534 MB / 1.368 GB, free: 9.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004958/1.014, allocations: 497.6 kB / 1.368 GB, free: 9.539 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006759/1.015, allocations: 0.6193 MB / 1.369 GB, free: 9.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/1.018, allocations: 2.117 MB / 1.371 GB, free: 7.797 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/1.018, allocations: 0 / 1.371 GB, free: 7.797 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/1.018, allocations: 0 / 1.371 GB, free: 7.797 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.018, allocations: 0 / 1.371 GB, free: 7.797 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002161/1.02, allocations: 1.509 MB / 1.373 GB, free: 6.637 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.02, allocations: 13.03 kB / 1.373 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/1.02, allocations: 141.2 kB / 1.373 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/1.022, allocations: 331.6 kB / 1.373 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/1.023, allocations: 0.8176 MB / 1.374 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/1.024, allocations: 69.12 kB / 1.374 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.024, allocations: 87.17 kB / 1.374 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.025, allocations: 1.068 MB / 1.375 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/1.025, allocations: 9.312 kB / 1.375 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/1.025, allocations: 37.62 kB / 1.375 GB, free: 4.984 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/1.026, allocations: 36.23 kB / 1.375 GB, free: 4.977 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/1.027, allocations: 0.827 MB / 1.376 GB, free: 4.582 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.005086/1.032, allocations: 4.269 MB / 1.38 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/1.033, allocations: 360.7 kB / 1.38 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/1.033, allocations: 216.4 kB / 1.381 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.033, allocations: 102.5 kB / 1.381 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/1.033, allocations: 42.84 kB / 1.381 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=36): time 3.116e-06/1.033, allocations: 0 / 1.381 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of matching and sorting (n=38): time 0.00223/1.035, allocations: 1.353 MB / 1.382 GB, free: 15.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/1.035, allocations: 61.62 kB / 1.382 GB, free: 15.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.037, allocations: 0.9946 MB / 1.383 GB, free: 15.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/1.037, allocations: 40.52 kB / 1.383 GB, free: 14.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/1.037, allocations: 0.499 MB / 1.384 GB, free: 14.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.037, allocations: 148.1 kB / 1.384 GB, free: 14.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/1.037, allocations: 127.2 kB / 1.384 GB, free: 14.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.037, allocations: 331 kB / 1.384 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/1.038, allocations: 233.4 kB / 1.384 GB, free: 13.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/1.038, allocations: 420.7 kB / 1.385 GB, free: 13.56 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.002369/1.041, allocations: 1.217 MB / 1.386 GB, free: 12.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.041, allocations: 11.5 kB / 1.386 GB, free: 12.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001265/1.042, allocations: 0.7749 MB / 1.387 GB, free: 12.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.042, allocations: 8.125 kB / 1.387 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.042, allocations: 8.812 kB / 1.387 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.042, allocations: 13.62 kB / 1.387 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/1.043, allocations: 142 kB / 1.387 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/1.043, allocations: 13.56 kB / 1.387 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/1.044, allocations: 62.36 kB / 1.387 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/1.044, allocations: 30.2 kB / 1.387 GB, free: 12.27 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: 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.000356/1.044, allocations: 311.4 kB / 1.387 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.044, allocations: 105.6 kB / 1.387 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/1.044, allocations: 101.7 kB / 1.388 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.044, allocations: 4.781 kB / 1.388 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.044, allocations: 4 kB / 1.388 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006124/1.045, allocations: 0.6764 MB / 1.388 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.047, allocations: 1.578 MB / 1.39 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.047, allocations: 9.094 kB / 1.39 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/1.048, allocations: 81.34 kB / 1.39 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/1.048, allocations: 6.812 kB / 1.39 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.048, allocations: 19.89 kB / 1.39 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.048, allocations: 8.75 kB / 1.39 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.048, allocations: 5.469 kB / 1.39 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009424/1.049, allocations: 0.8292 MB / 1.391 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/1.049, allocations: 245.4 kB / 1.391 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.049, allocations: 17.41 kB / 1.391 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/1.05, allocations: 39.55 kB / 1.391 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/1.05, allocations: 38.69 kB / 1.391 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/1.05, allocations: 25.73 kB / 1.391 GB, free: 9.273 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009289/1.051, allocations: 0.7084 MB / 1.392 GB, free: 8.871 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.051, allocations: 2.094 kB / 1.392 GB, free: 8.871 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000855/1.052, allocations: 257.5 kB / 1.392 GB, free: 8.848 MB / 1.061 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.001677/1.053, allocations: 1.48 MB / 1.393 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009143/1.054, allocations: 0.5038 MB / 1.394 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.054, allocations: 5.75 kB / 1.394 GB, free: 7.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/1.055, allocations: 196.6 kB / 1.394 GB, free: 7.355 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.057, allocations: 0.6087 MB / 1.395 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009216/1.066, allocations: 7.642 MB / 1.402 GB, free: 1.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/1.067, allocations: 1.099 MB / 1.403 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007674/1.068, allocations: 248.3 kB / 1.403 GB, free: 476 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/1.068, allocations: 343.3 kB / 1.404 GB, free: 132 kB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/1.068, allocations: 0 / 1.404 GB, free: 132 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/1.12, allocations: 27.79 MB / 1.431 GB, free: 4.805 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.181/10.3, allocations: 12.92 kB / 1.431 GB, free: 4.797 MB / 1.092 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