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.001317/0.001317, allocations: 112.5 kB / 15.73 MB, free: 76 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.001338/0.001338, allocations: 191.3 kB / 16.67 MB, free: 6.582 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.43/1.43, 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.711/2.711, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2761, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7439/1.02, allocations: 190.3 MB / 1.352 GB, free: 2.949 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009645/1.03, allocations: 5.696 MB / 1.358 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/1.031, allocations: 37.03 kB / 1.358 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/1.033, allocations: 0.564 MB / 1.358 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004102/1.037, allocations: 1.609 MB / 1.36 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/1.04, allocations: 1.217 MB / 1.361 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003525/1.043, allocations: 2.505 MB / 1.363 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/1.045, allocations: 0.9897 MB / 1.364 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/1.047, allocations: 1.025 MB / 1.365 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/1.049, allocations: 0.815 MB / 1.366 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/1.049, allocations: 101.7 kB / 1.366 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/1.052, allocations: 1.524 MB / 1.368 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005975/1.053, allocations: 495 kB / 1.368 GB, free: 9.707 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/1.054, allocations: 0.6187 MB / 1.369 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/1.057, allocations: 2.112 MB / 1.371 GB, free: 7.969 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.057, allocations: 0 / 1.371 GB, free: 7.969 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/1.057, allocations: 3.938 kB / 1.371 GB, free: 7.965 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.692e-05/1.057, allocations: 3.984 kB / 1.371 GB, free: 7.961 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.002376/1.059, allocations: 1.517 MB / 1.372 GB, free: 6.793 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.059, allocations: 9.344 kB / 1.372 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/1.06, allocations: 141.1 kB / 1.373 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/1.062, allocations: 332.6 kB / 1.373 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/1.063, allocations: 0.8161 MB / 1.374 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/1.063, allocations: 64.94 kB / 1.374 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.063, allocations: 87.38 kB / 1.374 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/1.065, allocations: 1.073 MB / 1.375 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/1.065, allocations: 5.359 kB / 1.375 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-05/1.065, allocations: 37.61 kB / 1.375 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/1.065, allocations: 40.23 kB / 1.375 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.067, allocations: 0.8294 MB / 1.376 GB, free: 4.738 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.005586/1.072, allocations: 4.262 MB / 1.38 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/1.073, allocations: 371.2 kB / 1.38 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/1.073, allocations: 216 kB / 1.38 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/1.073, allocations: 96.88 kB / 1.381 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.073, allocations: 38.81 kB / 1.381 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=36): time 1.943e-06/1.073, allocations: 0 / 1.381 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of matching and sorting (n=38): time 0.002522/1.076, allocations: 1.358 MB / 1.382 GB, free: 15.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.076, allocations: 60.34 kB / 1.382 GB, free: 15.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/1.077, allocations: 0.9956 MB / 1.383 GB, free: 15.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/1.077, allocations: 34.98 kB / 1.383 GB, free: 15.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/1.078, allocations: 0.5024 MB / 1.383 GB, free: 14.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.078, allocations: 150.3 kB / 1.384 GB, free: 14.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/1.078, allocations: 124.9 kB / 1.384 GB, free: 14.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.078, allocations: 328.7 kB / 1.384 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/1.079, allocations: 238.7 kB / 1.384 GB, free: 14.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/1.079, allocations: 419.4 kB / 1.385 GB, free: 13.72 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.002466/1.082, allocations: 1.221 MB / 1.386 GB, free: 12.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.082, allocations: 2.594 kB / 1.386 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001409/1.083, allocations: 0.7761 MB / 1.387 GB, free: 12.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.083, allocations: 6.75 kB / 1.387 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.083, allocations: 6.312 kB / 1.387 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.083, allocations: 13.84 kB / 1.387 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/1.084, allocations: 139.5 kB / 1.387 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.084, allocations: 14.34 kB / 1.387 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/1.085, allocations: 54.33 kB / 1.387 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/1.085, allocations: 27.72 kB / 1.387 GB, free: 12.45 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.0004761/1.085, allocations: 319.1 kB / 1.387 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/1.086, allocations: 114 kB / 1.387 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/1.086, allocations: 105.5 kB / 1.387 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.086, allocations: 8.812 kB / 1.387 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.086, allocations: 0 / 1.387 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007463/1.087, allocations: 0.6727 MB / 1.388 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/1.089, allocations: 1.587 MB / 1.39 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.089, allocations: 5.281 kB / 1.39 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/1.089, allocations: 80.89 kB / 1.39 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.089, allocations: 5.375 kB / 1.39 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/1.089, allocations: 15.34 kB / 1.39 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.089, allocations: 13.23 kB / 1.39 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.089, allocations: 8.688 kB / 1.39 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.09, allocations: 0.8248 MB / 1.391 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/1.091, allocations: 248.6 kB / 1.391 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.091, allocations: 19.8 kB / 1.391 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/1.092, allocations: 39.53 kB / 1.391 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/1.092, allocations: 38.47 kB / 1.391 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/1.092, allocations: 29.8 kB / 1.391 GB, free: 9.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000993/1.093, allocations: 0.7035 MB / 1.392 GB, free: 9.031 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.093, allocations: 0 / 1.392 GB, free: 9.031 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007637/1.094, allocations: 254.1 kB / 1.392 GB, free: 9.012 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.001681/1.095, allocations: 1.487 MB / 1.393 GB, free: 7.836 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009068/1.096, allocations: 0.4961 MB / 1.394 GB, free: 7.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.096, allocations: 10.16 kB / 1.394 GB, free: 7.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/1.096, allocations: 190.4 kB / 1.394 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.099, allocations: 0.6153 MB / 1.395 GB, free: 7.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.11, allocations: 7.641 MB / 1.402 GB, free: 2.027 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/1.11, allocations: 1.095 MB / 1.403 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009213/1.111, allocations: 252.3 kB / 1.403 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/1.112, allocations: 343.3 kB / 1.404 GB, free: 324 kB / 1.061 GB Notification: Performance of SimCode: time 7.62e-07/1.112, allocations: 0 / 1.404 GB, free: 324 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06274/1.175, allocations: 27.78 MB / 1.431 GB, free: 5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.993/11.17, allocations: 14.41 kB / 1.431 GB, free: 4.988 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