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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 116.1 kB / 17.16 MB, free: 6.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 205.5 kB / 20.13 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7678 GB, free: 9.426 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00324/0.00324, allocations: 69.62 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.031, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2549/1.286, allocations: 193.9 MB / 1.468 GB, free: 9.891 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01121/1.297, allocations: 5.71 MB / 1.474 GB, free: 4.176 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/1.299, allocations: 59.5 kB / 1.474 GB, free: 4.117 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/1.301, allocations: 0.5903 MB / 1.475 GB, free: 3.523 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004537/1.305, allocations: 1.672 MB / 1.476 GB, free: 1.844 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/1.308, allocations: 1.227 MB / 1.477 GB, free: 0.625 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003845/1.312, allocations: 2.508 MB / 1.48 GB, free: 14.11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/1.314, allocations: 0.8287 MB / 1.481 GB, free: 13.26 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/1.316, allocations: 1.086 MB / 1.482 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/1.319, allocations: 0.8769 MB / 1.483 GB, free: 11.3 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004482/1.319, allocations: 100 kB / 1.483 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003996/1.323, allocations: 1.606 MB / 1.484 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007571/1.324, allocations: 0.4907 MB / 1.485 GB, free: 9.098 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/1.325, allocations: 0.6222 MB / 1.485 GB, free: 8.473 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/1.33, allocations: 2.114 MB / 1.487 GB, free: 6.352 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.33, allocations: 0 / 1.487 GB, free: 6.352 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.004e-06/1.33, allocations: 0 / 1.487 GB, free: 6.352 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.654e-05/1.33, allocations: 0 / 1.487 GB, free: 6.352 MB / 1.17 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.002912/1.332, allocations: 1.517 MB / 1.489 GB, free: 4.777 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.332, allocations: 12.03 kB / 1.489 GB, free: 4.766 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.868e-05/1.333, allocations: 22 kB / 1.489 GB, free: 4.746 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/1.333, allocations: 139.2 kB / 1.489 GB, free: 4.602 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/1.335, allocations: 338.9 kB / 1.489 GB, free: 4.27 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.336, allocations: 0.8084 MB / 1.49 GB, free: 3.418 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/1.336, allocations: 73.94 kB / 1.49 GB, free: 3.348 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.337, allocations: 87.94 kB / 1.49 GB, free: 3.262 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.338, allocations: 1.067 MB / 1.491 GB, free: 2.152 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.338, allocations: 0 / 1.491 GB, free: 2.152 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/1.339, allocations: 39.98 kB / 1.491 GB, free: 2.113 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/1.339, allocations: 37.98 kB / 1.491 GB, free: 2.078 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/1.34, allocations: 0.8274 MB / 1.492 GB, free: 1.246 MB / 1.17 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.006656/1.347, allocations: 4.271 MB / 1.496 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/1.348, allocations: 348 kB / 1.497 GB, free: 12.36 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/1.348, allocations: 211.8 kB / 1.497 GB, free: 12.15 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/1.348, allocations: 105.1 kB / 1.497 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.348, allocations: 42.56 kB / 1.497 GB, free: 11.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=36): time 2.695e-06/1.348, allocations: 4 kB / 1.497 GB, free: 11.97 MB / 1.186 GB Notification: Performance of matching and sorting (n=38): time 0.003008/1.351, allocations: 1.349 MB / 1.498 GB, free: 10.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/1.351, allocations: 59.39 kB / 1.498 GB, free: 10.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/1.353, allocations: 1.001 MB / 1.499 GB, free: 9.477 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/1.353, allocations: 37.7 kB / 1.499 GB, free: 9.434 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/1.354, allocations: 0.4963 MB / 1.5 GB, free: 8.934 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.354, allocations: 146.7 kB / 1.5 GB, free: 8.789 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/1.354, allocations: 126.2 kB / 1.5 GB, free: 8.66 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.354, allocations: 334 kB / 1.501 GB, free: 8.328 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/1.355, allocations: 237.2 kB / 1.501 GB, free: 8.094 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/1.355, allocations: 419.7 kB / 1.501 GB, free: 7.609 MB / 1.186 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.002799/1.358, allocations: 1.219 MB / 1.502 GB, free: 6.293 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.358, allocations: 3.938 kB / 1.502 GB, free: 6.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001647/1.36, allocations: 0.7697 MB / 1.503 GB, free: 5.512 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.36, allocations: 11.94 kB / 1.503 GB, free: 5.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.36, allocations: 4 kB / 1.503 GB, free: 5.496 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/1.36, allocations: 11.94 kB / 1.503 GB, free: 5.484 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/1.36, allocations: 144.1 kB / 1.503 GB, free: 5.344 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.36, allocations: 15.94 kB / 1.503 GB, free: 5.328 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009645/1.361, allocations: 51.95 kB / 1.503 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/1.362, allocations: 28 kB / 1.503 GB, free: 5.25 MB / 1.186 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.0005548/1.362, allocations: 314.1 kB / 1.504 GB, free: 4.934 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/1.362, allocations: 111.3 kB / 1.504 GB, free: 4.824 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/1.362, allocations: 97.03 kB / 1.504 GB, free: 4.723 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.362, allocations: 4 kB / 1.504 GB, free: 4.719 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.362, allocations: 0 / 1.504 GB, free: 4.719 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008364/1.363, allocations: 0.6866 MB / 1.505 GB, free: 3.945 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/1.366, allocations: 1.581 MB / 1.506 GB, free: 2.258 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.366, allocations: 4 kB / 1.506 GB, free: 2.254 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/1.366, allocations: 83.89 kB / 1.506 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.366, allocations: 4 kB / 1.506 GB, free: 2.168 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/1.366, allocations: 15.94 kB / 1.506 GB, free: 2.152 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.366, allocations: 12.48 kB / 1.506 GB, free: 2.141 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.367, allocations: 11.94 kB / 1.506 GB, free: 2.129 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.368, allocations: 0.8358 MB / 1.507 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/1.368, allocations: 240.4 kB / 1.507 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.368, allocations: 19.98 kB / 1.507 GB, free: 0.957 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/1.369, allocations: 39.92 kB / 1.507 GB, free: 0.918 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/1.369, allocations: 39.84 kB / 1.507 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/1.369, allocations: 23.98 kB / 1.507 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001159/1.37, allocations: 0.7077 MB / 1.508 GB, free: 140 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.37, allocations: 0 / 1.508 GB, free: 140 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009502/1.371, allocations: 256 kB / 1.508 GB, free: 15.88 MB / 1.201 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.001882/1.373, allocations: 1.467 MB / 1.51 GB, free: 14.34 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.374, allocations: 495.9 kB / 1.51 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.374, allocations: 448 / 1.51 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/1.375, allocations: 186.3 kB / 1.51 GB, free: 13.68 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.377, allocations: 0.613 MB / 1.511 GB, free: 13.07 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.39, allocations: 7.649 MB / 1.518 GB, free: 5.051 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/1.391, allocations: 1.103 MB / 1.52 GB, free: 3.918 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009665/1.392, allocations: 244.4 kB / 1.52 GB, free: 3.676 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/1.392, allocations: 343.3 kB / 1.52 GB, free: 3.34 MB / 1.201 GB Notification: Performance of SimCode: time 7.82e-07/1.392, allocations: 4 kB / 1.52 GB, free: 3.336 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/1.459, allocations: 28.01 MB / 1.547 GB, free: 7.801 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/12.13, allocations: 17.61 kB / 1.547 GB, free: 7.789 MB / 1.232 GB " [Timeout remaining time 288] (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 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.826012448989786]