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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 109 kB / 15.99 MB, free: 6.355 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.001544/0.001544, allocations: 192.3 kB / 16.91 MB, free: 6.188 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.724/2.724, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001926, allocations: 68.42 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3295, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7854/1.115, allocations: 187.9 MB / 1.248 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009816/1.125, allocations: 5.665 MB / 1.253 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/1.127, allocations: 35.75 kB / 1.253 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/1.128, allocations: 0.5014 MB / 1.254 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00413/1.132, allocations: 1.51 MB / 1.255 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/1.135, allocations: 1.102 MB / 1.256 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003779/1.139, allocations: 2.506 MB / 1.259 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/1.141, allocations: 0.9583 MB / 1.26 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/1.143, allocations: 1.023 MB / 1.261 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/1.145, allocations: 0.8794 MB / 1.261 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/1.146, allocations: 104 kB / 1.262 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/1.149, allocations: 1.598 MB / 1.263 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006835/1.15, allocations: 498.7 kB / 1.264 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009932/1.151, allocations: 0.6222 MB / 1.264 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/1.153, allocations: 1.602 MB / 1.266 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.153, allocations: 4 kB / 1.266 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/1.153, allocations: 0 / 1.266 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.68e-05/1.153, allocations: 4 kB / 1.266 GB, free: 10.62 MB / 0.9825 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.002596/1.156, allocations: 1.473 MB / 1.267 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.156, allocations: 8.031 kB / 1.267 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/1.158, allocations: 334.3 kB / 1.268 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.159, allocations: 0.7726 MB / 1.268 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/1.16, allocations: 117.9 kB / 1.268 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/1.16, allocations: 91.92 kB / 1.268 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/1.162, allocations: 1.072 MB / 1.27 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.162, allocations: 0 / 1.27 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/1.162, allocations: 39.98 kB / 1.27 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/1.162, allocations: 37.98 kB / 1.27 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/1.164, allocations: 0.8353 MB / 1.27 GB, free: 5.727 MB / 0.9825 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.005836/1.17, allocations: 4.059 MB / 1.274 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/1.17, allocations: 362.5 kB / 1.275 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/1.17, allocations: 215.4 kB / 1.275 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/1.171, allocations: 101.1 kB / 1.275 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.171, allocations: 38.56 kB / 1.275 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 1.884e-06/1.171, allocations: 0 / 1.275 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.00277/1.174, allocations: 1.331 MB / 1.276 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/1.174, allocations: 59.41 kB / 1.276 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.175, allocations: 0.9959 MB / 1.277 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/1.175, allocations: 37.7 kB / 1.277 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/1.176, allocations: 499.3 kB / 1.278 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/1.176, allocations: 138 kB / 1.278 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.176, allocations: 122.1 kB / 1.278 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.176, allocations: 334 kB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/1.177, allocations: 229.2 kB / 1.279 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/1.177, allocations: 405.2 kB / 1.279 GB, free: 12.38 MB / 0.9981 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.002586/1.18, allocations: 1.197 MB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.18, allocations: 0 / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001508/1.181, allocations: 0.7421 MB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/1.181, allocations: 11.94 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.181, allocations: 7.984 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.181, allocations: 8 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/1.182, allocations: 140 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/1.182, allocations: 15.98 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009929/1.183, allocations: 87.69 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/1.183, allocations: 31.94 kB / 1.281 GB, free: 10.04 MB / 0.9981 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0005139/1.184, allocations: 313.5 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/1.184, allocations: 98.81 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/1.184, allocations: 105 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.184, allocations: 7.938 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.184, allocations: 0 / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000804/1.185, allocations: 0.6722 MB / 1.282 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/1.187, allocations: 1.585 MB / 1.284 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.187, allocations: 4 kB / 1.284 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/1.188, allocations: 85.16 kB / 1.284 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.188, allocations: 4 kB / 1.284 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/1.188, allocations: 20.42 kB / 1.284 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/1.188, allocations: 12 kB / 1.284 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.188, allocations: 7.938 kB / 1.284 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/1.189, allocations: 0.8262 MB / 1.285 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/1.19, allocations: 239.8 kB / 1.285 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.19, allocations: 15.98 kB / 1.285 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/1.19, allocations: 63.36 kB / 1.285 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/1.191, allocations: 39.92 kB / 1.285 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/1.191, allocations: 27.98 kB / 1.285 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001108/1.192, allocations: 0.7035 MB / 1.286 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.192, allocations: 0 / 1.286 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009193/1.193, allocations: 252 kB / 1.286 GB, free: 4.691 MB / 0.9981 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.0005169/1.193, allocations: 202.3 kB / 1.286 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001065/1.194, allocations: 0.5273 MB / 1.287 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.194, allocations: 4 kB / 1.287 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/1.195, allocations: 187.7 kB / 1.287 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.197, allocations: 0.6193 MB / 1.288 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/1.201, allocations: 2.252 MB / 1.29 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/1.201, allocations: 1.095 MB / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/1.202, allocations: 83.42 kB / 1.291 GB, free: 15.62 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.202, allocations: 0 / 1.291 GB, free: 15.62 MB / 1.014 GB Notification: Performance of Templates: time 0.02744/1.229, allocations: 16.29 MB / 1.307 GB, free: 15.48 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (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 & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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