Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_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.007441/0.007441, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.002122/0.002122, allocations: 192 kB / 16.67 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6627/0.6646, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2047/0.8694, allocations: 190.3 MB / 1.406 GB, free: 2.949 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009015/0.8784, allocations: 5.701 MB / 1.412 GB, free: 13.24 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009453/0.8794, allocations: 39.75 kB / 1.412 GB, free: 13.2 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.8808, allocations: 0.5669 MB / 1.412 GB, free: 12.63 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.8845, allocations: 1.61 MB / 1.414 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.8873, allocations: 1.206 MB / 1.415 GB, free: 9.816 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003128/0.8905, allocations: 2.516 MB / 1.417 GB, free: 7.293 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.8919, allocations: 0.9809 MB / 1.418 GB, free: 6.293 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.8937, allocations: 1.035 MB / 1.419 GB, free: 5.254 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.8954, allocations: 0.8147 MB / 1.42 GB, free: 4.441 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.8956, allocations: 100 kB / 1.42 GB, free: 4.344 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.8982, allocations: 1.532 MB / 1.422 GB, free: 2.809 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.8987, allocations: 498.7 kB / 1.422 GB, free: 2.32 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006842/0.8994, allocations: 0.6222 MB / 1.423 GB, free: 1.695 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.902, allocations: 2.11 MB / 1.425 GB, free: 15.58 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.902, allocations: 0 / 1.425 GB, free: 15.58 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.202e-06/0.902, allocations: 0 / 1.425 GB, free: 15.58 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.902, allocations: 4 kB / 1.425 GB, free: 15.57 MB / 1.154 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.00228/0.9043, allocations: 1.509 MB / 1.426 GB, free: 14.01 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.9044, allocations: 8.031 kB / 1.426 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.9045, allocations: 143.2 kB / 1.427 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.9065, allocations: 331 kB / 1.427 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.9078, allocations: 0.8162 MB / 1.428 GB, free: 12.67 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/0.9079, allocations: 69.94 kB / 1.428 GB, free: 12.6 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.908, allocations: 84 kB / 1.428 GB, free: 12.52 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.9099, allocations: 1.074 MB / 1.429 GB, free: 11.4 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.9099, allocations: 0 / 1.429 GB, free: 11.4 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/0.91, allocations: 39.98 kB / 1.429 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.9101, allocations: 34 kB / 1.429 GB, free: 11.33 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.9117, allocations: 0.8352 MB / 1.43 GB, free: 10.49 MB / 1.154 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.005526/0.9172, allocations: 4.271 MB / 1.434 GB, free: 5.945 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.9179, allocations: 366.7 kB / 1.434 GB, free: 5.578 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.9182, allocations: 216.2 kB / 1.434 GB, free: 5.367 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.9184, allocations: 101 kB / 1.435 GB, free: 5.25 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.9184, allocations: 38.56 kB / 1.435 GB, free: 5.203 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.9185, allocations: 0 / 1.435 GB, free: 5.203 MB / 1.154 GB Notification: Performance of matching and sorting (n=38): time 0.002473/0.9209, allocations: 1.349 MB / 1.436 GB, free: 3.801 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.921, allocations: 63.16 kB / 1.436 GB, free: 3.727 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.9224, allocations: 1.004 MB / 1.437 GB, free: 2.699 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.9225, allocations: 37.64 kB / 1.437 GB, free: 2.656 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.9229, allocations: 0.5002 MB / 1.437 GB, free: 2.152 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.923, allocations: 146.8 kB / 1.438 GB, free: 2.008 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.9232, allocations: 122.2 kB / 1.438 GB, free: 1.883 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9234, allocations: 330 kB / 1.438 GB, free: 1.555 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.9239, allocations: 237.2 kB / 1.438 GB, free: 1.32 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.9246, allocations: 419.8 kB / 1.439 GB, free: 0.8359 MB / 1.154 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.002685/0.9273, allocations: 1.217 MB / 1.44 GB, free: 15.52 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.9273, allocations: 3.984 kB / 1.44 GB, free: 15.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001448/0.9287, allocations: 0.7736 MB / 1.441 GB, free: 14.73 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9288, allocations: 8 kB / 1.441 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.9288, allocations: 7.938 kB / 1.441 GB, free: 14.72 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.9288, allocations: 8 kB / 1.441 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.9294, allocations: 143.8 kB / 1.441 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.9294, allocations: 16.27 kB / 1.441 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/0.9303, allocations: 55.91 kB / 1.441 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.9303, allocations: 28 kB / 1.441 GB, free: 14.47 MB / 1.17 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.0003979/0.9307, allocations: 318.1 kB / 1.441 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.9309, allocations: 103.4 kB / 1.441 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.9311, allocations: 105 kB / 1.441 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9311, allocations: 4 kB / 1.441 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9311, allocations: 3.984 kB / 1.441 GB, free: 13.94 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007446/0.9319, allocations: 0.6791 MB / 1.442 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.9342, allocations: 1.579 MB / 1.444 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.9343, allocations: 4 kB / 1.444 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.9347, allocations: 91.83 kB / 1.444 GB, free: 11.4 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.9347, allocations: 4 kB / 1.444 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.9347, allocations: 16 kB / 1.444 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.9347, allocations: 11.94 kB / 1.444 GB, free: 11.37 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9348, allocations: 8.406 kB / 1.444 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.9359, allocations: 0.8373 MB / 1.445 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.9362, allocations: 244.4 kB / 1.445 GB, free: 10.2 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.9364, allocations: 15.94 kB / 1.445 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.937, allocations: 31.97 kB / 1.445 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.9371, allocations: 47.78 kB / 1.445 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.9372, allocations: 23.98 kB / 1.445 GB, free: 10.08 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00104/0.9382, allocations: 0.7038 MB / 1.446 GB, free: 9.367 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/0.9382, allocations: 4 kB / 1.446 GB, free: 9.363 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007579/0.939, allocations: 255.9 kB / 1.446 GB, free: 9.113 MB / 1.17 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.001742/0.9407, allocations: 1.488 MB / 1.447 GB, free: 7.559 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009497/0.9417, allocations: 0.4967 MB / 1.448 GB, free: 7.062 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9417, allocations: 12 kB / 1.448 GB, free: 7.051 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.942, allocations: 183.7 kB / 1.448 GB, free: 6.871 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.9448, allocations: 0.6225 MB / 1.449 GB, free: 6.258 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.9554, allocations: 7.63 MB / 1.456 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.9562, allocations: 1.099 MB / 1.457 GB, free: 13.12 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007227/0.9569, allocations: 244.3 kB / 1.457 GB, free: 12.88 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.9574, allocations: 339.3 kB / 1.458 GB, free: 12.55 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.9574, allocations: 0 / 1.458 GB, free: 12.55 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/1.016, allocations: 27.79 MB / 1.485 GB, free: 1.211 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.382/10.4, allocations: 28.66 kB / 1.485 GB, free: 1.188 MB / 1.201 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches