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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001663/0.001663, 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.002059/0.002059, allocations: 193.2 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 65.44 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2678, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7108/0.9786, allocations: 190.3 MB / 1.25 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008504/0.9871, allocations: 5.689 MB / 1.255 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.9885, allocations: 38.09 kB / 1.255 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.9899, allocations: 0.5646 MB / 1.256 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.9936, allocations: 1.608 MB / 1.257 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.9966, allocations: 1.192 MB / 1.258 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.9995, allocations: 2.505 MB / 1.261 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/1.001, allocations: 1.004 MB / 1.262 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/1.002, allocations: 1.015 MB / 1.263 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/1.004, allocations: 0.8127 MB / 1.264 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/1.004, allocations: 109.5 kB / 1.264 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/1.007, allocations: 1.519 MB / 1.265 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005404/1.008, allocations: 498 kB / 1.266 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007344/1.008, allocations: 0.6253 MB / 1.266 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002946/1.011, allocations: 2.09 MB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.011, allocations: 0.9688 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.011, allocations: 0 / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.846e-05/1.011, allocations: 0.8125 kB / 1.268 GB, free: 4.332 MB / 0.9981 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.002456/1.014, allocations: 1.477 MB / 1.27 GB, free: 19.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.014, allocations: 8.25 kB / 1.27 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/1.014, allocations: 141.5 kB / 1.27 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/1.016, allocations: 327.9 kB / 1.27 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.018, allocations: 0.7772 MB / 1.271 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/1.018, allocations: 121.5 kB / 1.271 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/1.018, allocations: 85 kB / 1.271 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/1.02, allocations: 1.082 MB / 1.272 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/1.02, allocations: 4.969 kB / 1.272 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/1.02, allocations: 41.88 kB / 1.272 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/1.021, allocations: 34.19 kB / 1.272 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/1.022, allocations: 0.8443 MB / 1.273 GB, free: 18.98 MB / 1.014 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.006739/1.029, allocations: 4.301 MB / 1.277 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/1.03, allocations: 366.4 kB / 1.278 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/1.03, allocations: 211.1 kB / 1.278 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/1.03, allocations: 104 kB / 1.278 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.03, allocations: 40.34 kB / 1.278 GB, free: 16.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/1.03, allocations: 0 / 1.278 GB, free: 16.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002579/1.033, allocations: 1.333 MB / 1.279 GB, free: 16.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/1.033, allocations: 55.22 kB / 1.279 GB, free: 16.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.034, allocations: 1.013 MB / 1.28 GB, free: 15.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/1.034, allocations: 32.77 kB / 1.28 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/1.035, allocations: 0.4933 MB / 1.281 GB, free: 15.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/1.035, allocations: 131.8 kB / 1.281 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/1.035, allocations: 124.9 kB / 1.281 GB, free: 15.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.035, allocations: 331.9 kB / 1.281 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/1.036, allocations: 237.2 kB / 1.282 GB, free: 15.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/1.036, allocations: 427.9 kB / 1.282 GB, free: 15.07 MB / 1.014 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.002453/1.039, allocations: 1.23 MB / 1.283 GB, free: 14.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.039, allocations: 2.938 kB / 1.283 GB, free: 14.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001391/1.04, allocations: 0.7768 MB / 1.284 GB, free: 14.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.04, allocations: 13.91 kB / 1.284 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.04, allocations: 8.438 kB / 1.284 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.04, allocations: 9.719 kB / 1.284 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/1.041, allocations: 152.2 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/1.041, allocations: 12.09 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/1.042, allocations: 59.16 kB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/1.042, allocations: 28.94 kB / 1.284 GB, free: 14.66 MB / 1.014 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.0004024/1.042, allocations: 313.8 kB / 1.285 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.042, allocations: 107.3 kB / 1.285 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/1.042, allocations: 102.2 kB / 1.285 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.042, allocations: 5.438 kB / 1.285 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.042, allocations: 0 / 1.285 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00063/1.043, allocations: 0.6798 MB / 1.285 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/1.045, allocations: 1.587 MB / 1.287 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.045, allocations: 3.781 kB / 1.287 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/1.046, allocations: 88.23 kB / 1.287 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/1.046, allocations: 6.188 kB / 1.287 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/1.046, allocations: 20.45 kB / 1.287 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.046, allocations: 11.72 kB / 1.287 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.046, allocations: 5.312 kB / 1.287 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/1.047, allocations: 0.8294 MB / 1.288 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/1.047, allocations: 238.6 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.047, allocations: 13.81 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/1.048, allocations: 37.73 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/1.048, allocations: 39.11 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/1.048, allocations: 25.69 kB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001047/1.049, allocations: 0.7104 MB / 1.289 GB, free: 13.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.312e-06/1.049, allocations: 1.938 kB / 1.289 GB, free: 13.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009089/1.05, allocations: 257.8 kB / 1.289 GB, free: 13 MB / 1.014 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.001551/1.052, allocations: 1.491 MB / 1.291 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.053, allocations: 0.5361 MB / 1.291 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.053, allocations: 2.25 kB / 1.291 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/1.053, allocations: 187.9 kB / 1.291 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/1.056, allocations: 0.6206 MB / 1.292 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.066, allocations: 8.018 MB / 1.3 GB, free: 8.867 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/1.066, allocations: 1.097 MB / 1.301 GB, free: 8.152 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001012/1.067, allocations: 249.8 kB / 1.301 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/1.068, allocations: 345.4 kB / 1.302 GB, free: 8.09 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.068, allocations: 0 / 1.302 GB, free: 8.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/1.117, allocations: 27.61 MB / 1.328 GB, free: 2.211 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/9.058, allocations: 11.58 kB / 1.328 GB, free: 2.199 MB / 1.014 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