Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_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.0014/0.0014, 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.001602/0.001602, 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5599, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.193/0.7529, allocations: 190.3 MB / 1.136 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008638/0.7616, allocations: 5.686 MB / 1.141 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.7627, allocations: 43.75 kB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.7642, allocations: 0.5591 MB / 1.142 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.7679, allocations: 1.618 MB / 1.143 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.7707, allocations: 1.196 MB / 1.144 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.7735, allocations: 2.496 MB / 1.147 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.7749, allocations: 0.9926 MB / 1.148 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.7766, allocations: 1.02 MB / 1.149 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.7783, allocations: 0.8175 MB / 1.15 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.7785, allocations: 104 kB / 1.15 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.7812, allocations: 1.52 MB / 1.151 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005608/0.7818, allocations: 494.7 kB / 1.152 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008949/0.7827, allocations: 0.6339 MB / 1.152 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.7854, allocations: 2.08 MB / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7854, allocations: 0 / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7854, allocations: 4 kB / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.079e-05/0.7855, allocations: 0 / 1.154 GB, free: 15.49 MB / 0.92 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.002491/0.788, allocations: 1.472 MB / 1.156 GB, free: 13.97 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.788, allocations: 8.031 kB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.7882, allocations: 147.2 kB / 1.156 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.7902, allocations: 326.3 kB / 1.156 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.7915, allocations: 0.7765 MB / 1.157 GB, free: 12.67 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/0.7919, allocations: 121.9 kB / 1.157 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.792, allocations: 87.94 kB / 1.157 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.7938, allocations: 1.086 MB / 1.158 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.7938, allocations: 0 / 1.158 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.7939, allocations: 40 kB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.794, allocations: 30 kB / 1.158 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.7955, allocations: 0.843 MB / 1.159 GB, free: 10.42 MB / 0.92 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.005504/0.8011, allocations: 4.301 MB / 1.163 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.8016, allocations: 375.2 kB / 1.164 GB, free: 5.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.802, allocations: 216.4 kB / 1.164 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.8022, allocations: 101.1 kB / 1.164 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.8022, allocations: 50.55 kB / 1.164 GB, free: 5.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.8022, allocations: 3.938 kB / 1.164 GB, free: 5.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.0026/0.8048, allocations: 1.328 MB / 1.165 GB, free: 3.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.8049, allocations: 55.41 kB / 1.165 GB, free: 3.633 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.8063, allocations: 1.008 MB / 1.166 GB, free: 2.602 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.8064, allocations: 41.64 kB / 1.166 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.8067, allocations: 499.2 kB / 1.167 GB, free: 2.062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.8069, allocations: 138.1 kB / 1.167 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.8071, allocations: 122.2 kB / 1.167 GB, free: 1.801 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8072, allocations: 334 kB / 1.168 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.8077, allocations: 241.2 kB / 1.168 GB, free: 1.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.8084, allocations: 419.8 kB / 1.168 GB, free: 0.7461 MB / 0.92 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.002488/0.8109, allocations: 1.233 MB / 1.169 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8109, allocations: 0 / 1.169 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001436/0.8123, allocations: 0.7884 MB / 1.17 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8124, allocations: 13.81 kB / 1.17 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.8124, allocations: 4 kB / 1.17 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.8124, allocations: 12.34 kB / 1.17 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.813, allocations: 143.8 kB / 1.17 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.813, allocations: 15.94 kB / 1.17 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/0.8139, allocations: 59.95 kB / 1.17 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.814, allocations: 31.98 kB / 1.17 GB, free: 14.35 MB / 0.9356 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.0003705/0.8144, allocations: 309.5 kB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.8145, allocations: 106.8 kB / 1.171 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.8147, allocations: 101 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.8147, allocations: 4 kB / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8147, allocations: 0 / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006373/0.8154, allocations: 0.6791 MB / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.8176, allocations: 1.582 MB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.8176, allocations: 4 kB / 1.173 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.818, allocations: 83.91 kB / 1.173 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.8181, allocations: 4 kB / 1.173 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.8181, allocations: 19.92 kB / 1.173 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.8181, allocations: 8 kB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.8181, allocations: 7.938 kB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.8192, allocations: 0.8259 MB / 1.174 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.8196, allocations: 243.8 kB / 1.174 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.8197, allocations: 15.98 kB / 1.174 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.8205, allocations: 38.34 kB / 1.174 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.8205, allocations: 43.78 kB / 1.174 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.8206, allocations: 27.98 kB / 1.174 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001051/0.8217, allocations: 0.7155 MB / 1.175 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8217, allocations: 3.938 kB / 1.175 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008079/0.8225, allocations: 256 kB / 1.175 GB, free: 8.996 MB / 0.9356 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.001663/0.8241, allocations: 1.471 MB / 1.177 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.8252, allocations: 0.5351 MB / 1.177 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.8252, allocations: 4 kB / 1.177 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.8254, allocations: 192.3 kB / 1.177 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.8281, allocations: 0.6158 MB / 1.178 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.8388, allocations: 8.031 MB / 1.186 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.8395, allocations: 1.095 MB / 1.187 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009663/0.8405, allocations: 248.2 kB / 1.187 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.841, allocations: 351.3 kB / 1.188 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.841, allocations: 0 / 1.188 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/0.8926, allocations: 27.61 MB / 1.215 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.674, allocations: 5.312 kB / 1.215 GB, free: 0.7617 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches