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.007741/0.007747, allocations: 101.8 kB / 15.73 MB, free: 6.004 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.002069/0.002069, allocations: 193.7 kB / 16.67 MB, free: 5.922 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.357/2.357, allocations: 469.8 MB / 0.7425 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 67.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5818, allocations: 159.1 MB / 1.22 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1858/0.7676, allocations: 190.3 MB / 1.406 GB, free: 3.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007853/0.7755, allocations: 5.709 MB / 1.412 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005097/0.776, allocations: 39.81 kB / 1.412 GB, free: 13.33 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.7772, allocations: 0.5591 MB / 1.412 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.7801, allocations: 1.61 MB / 1.414 GB, free: 11.15 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.7825, allocations: 1.211 MB / 1.415 GB, free: 9.949 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.785, allocations: 2.504 MB / 1.417 GB, free: 7.438 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.7861, allocations: 0.9925 MB / 1.418 GB, free: 6.426 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.7874, allocations: 1.023 MB / 1.419 GB, free: 5.398 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.7888, allocations: 0.8174 MB / 1.42 GB, free: 4.582 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.7889, allocations: 100 kB / 1.42 GB, free: 4.484 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.7912, allocations: 1.528 MB / 1.422 GB, free: 2.953 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.7916, allocations: 0.4909 MB / 1.422 GB, free: 2.461 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.7923, allocations: 0.6144 MB / 1.423 GB, free: 1.844 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.7945, allocations: 2.114 MB / 1.425 GB, free: 15.72 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.7946, allocations: 0 / 1.425 GB, free: 15.72 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7946, allocations: 0 / 1.425 GB, free: 15.72 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.7946, allocations: 4 kB / 1.425 GB, free: 15.72 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.002022/0.7966, allocations: 1.513 MB / 1.426 GB, free: 14.15 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.7966, allocations: 12.03 kB / 1.426 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.7968, allocations: 135.2 kB / 1.427 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.7985, allocations: 331 kB / 1.427 GB, free: 13.67 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.7997, allocations: 0.8162 MB / 1.428 GB, free: 12.81 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.7997, allocations: 69.94 kB / 1.428 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7999, allocations: 88 kB / 1.428 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.8015, allocations: 1.071 MB / 1.429 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.8015, allocations: 4 kB / 1.429 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.8016, allocations: 39.98 kB / 1.429 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.8016, allocations: 37.98 kB / 1.429 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.8031, allocations: 0.8274 MB / 1.43 GB, free: 10.64 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.004918/0.808, allocations: 4.271 MB / 1.434 GB, free: 6.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.8086, allocations: 370.6 kB / 1.434 GB, free: 5.719 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.8089, allocations: 215.8 kB / 1.434 GB, free: 5.508 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.809, allocations: 97.09 kB / 1.435 GB, free: 5.395 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.8091, allocations: 38.56 kB / 1.435 GB, free: 5.348 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 9.187e-06/0.8091, allocations: 7.922 kB / 1.435 GB, free: 5.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=38): time 0.002163/0.8113, allocations: 1.357 MB / 1.436 GB, free: 3.93 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.8113, allocations: 59.16 kB / 1.436 GB, free: 3.859 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8125, allocations: 1.001 MB / 1.437 GB, free: 2.836 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.8126, allocations: 37.7 kB / 1.437 GB, free: 2.793 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.813, allocations: 0.4963 MB / 1.437 GB, free: 2.293 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.8131, allocations: 142.8 kB / 1.438 GB, free: 2.152 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.8133, allocations: 126.2 kB / 1.438 GB, free: 2.023 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8134, allocations: 334 kB / 1.438 GB, free: 1.691 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.8139, allocations: 237.2 kB / 1.438 GB, free: 1.457 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.8145, allocations: 419.8 kB / 1.439 GB, free: 0.9727 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.002313/0.8168, allocations: 1.224 MB / 1.44 GB, free: 15.65 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.8168, allocations: 4 kB / 1.44 GB, free: 15.65 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001262/0.8181, allocations: 0.7658 MB / 1.441 GB, free: 14.88 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8181, allocations: 8 kB / 1.441 GB, free: 14.87 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.8181, allocations: 7.938 kB / 1.441 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.8181, allocations: 12 kB / 1.441 GB, free: 14.85 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.8186, allocations: 139.8 kB / 1.441 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.8187, allocations: 12.28 kB / 1.441 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/0.8194, allocations: 63.91 kB / 1.441 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.8194, allocations: 27.98 kB / 1.441 GB, free: 14.61 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.0003506/0.8198, allocations: 314.1 kB / 1.441 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.82, allocations: 103.4 kB / 1.441 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.8201, allocations: 105 kB / 1.441 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.8201, allocations: 4 kB / 1.441 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8201, allocations: 0 / 1.441 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006656/0.8208, allocations: 0.683 MB / 1.442 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.8229, allocations: 1.583 MB / 1.444 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.8229, allocations: 7.984 kB / 1.444 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.8233, allocations: 79.91 kB / 1.444 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.8233, allocations: 12 kB / 1.444 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.8233, allocations: 12 kB / 1.444 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.8233, allocations: 11.92 kB / 1.444 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.8234, allocations: 12.38 kB / 1.444 GB, free: 11.5 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.8244, allocations: 0.8373 MB / 1.445 GB, free: 10.59 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.8247, allocations: 240.5 kB / 1.445 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8248, allocations: 15.92 kB / 1.445 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.8254, allocations: 35.97 kB / 1.445 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.8254, allocations: 39.84 kB / 1.445 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.8255, allocations: 27.98 kB / 1.445 GB, free: 10.22 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009224/0.8264, allocations: 0.7077 MB / 1.446 GB, free: 9.504 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8264, allocations: 0 / 1.446 GB, free: 9.504 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006563/0.8271, allocations: 255.9 kB / 1.446 GB, free: 9.254 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.001579/0.8287, allocations: 1.502 MB / 1.447 GB, free: 7.684 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008245/0.8295, allocations: 0.489 MB / 1.448 GB, free: 7.195 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.8295, allocations: 12 kB / 1.448 GB, free: 7.184 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.8298, allocations: 183.7 kB / 1.448 GB, free: 7.004 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.8322, allocations: 0.6127 MB / 1.449 GB, free: 6.402 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/0.8416, allocations: 7.63 MB / 1.456 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.8423, allocations: 1.099 MB / 1.457 GB, free: 13.27 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006206/0.8429, allocations: 248.3 kB / 1.457 GB, free: 13.02 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.8433, allocations: 343.3 kB / 1.458 GB, free: 12.68 MB / 1.186 GB Notification: Performance of SimCode: time 3.8e-07/0.8433, allocations: 0 / 1.458 GB, free: 12.68 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.507/4.35, allocations: 27.79 MB / 1.485 GB, free: 1.352 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/17.58, allocations: 23.72 kB / 1.485 GB, free: 1.332 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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