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: 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_latest_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_latest_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.001584/0.001584, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001568/0.001568, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.537/2.537, allocations: 469.4 MB / 0.7423 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.52 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3296, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7133/1.043, allocations: 187.9 MB / 1.247 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008847/1.052, allocations: 5.658 MB / 1.253 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/1.053, allocations: 35.81 kB / 1.253 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/1.055, allocations: 0.5053 MB / 1.253 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/1.059, allocations: 1.509 MB / 1.255 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003033/1.062, allocations: 1.096 MB / 1.256 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003353/1.066, allocations: 2.503 MB / 1.258 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/1.067, allocations: 0.9621 MB / 1.259 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/1.069, allocations: 1.027 MB / 1.26 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/1.071, allocations: 0.8804 MB / 1.261 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/1.071, allocations: 100 kB / 1.261 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/1.074, allocations: 1.59 MB / 1.263 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005464/1.075, allocations: 0.4909 MB / 1.263 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007704/1.076, allocations: 0.6222 MB / 1.264 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/1.078, allocations: 1.606 MB / 1.265 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.078, allocations: 0 / 1.265 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/1.078, allocations: 0 / 1.265 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.849e-05/1.078, allocations: 0 / 1.265 GB, free: 11.11 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.002324/1.08, allocations: 1.469 MB / 1.267 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.08, allocations: 16.61 kB / 1.267 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/1.082, allocations: 330.3 kB / 1.267 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.083, allocations: 0.7726 MB / 1.268 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/1.084, allocations: 125.9 kB / 1.268 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.084, allocations: 88 kB / 1.268 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/1.086, allocations: 1.064 MB / 1.269 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.086, allocations: 7.922 kB / 1.269 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/1.086, allocations: 36 kB / 1.269 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/1.086, allocations: 34 kB / 1.269 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/1.087, allocations: 0.8392 MB / 1.27 GB, free: 6.207 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.005213/1.093, allocations: 4.05 MB / 1.274 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/1.093, allocations: 371.1 kB / 1.274 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/1.093, allocations: 216.8 kB / 1.275 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/1.094, allocations: 97.09 kB / 1.275 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/1.094, allocations: 46.5 kB / 1.275 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 2.494e-06/1.094, allocations: 0 / 1.275 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002617/1.096, allocations: 1.331 MB / 1.276 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/1.096, allocations: 55.41 kB / 1.276 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1.098, allocations: 0.9997 MB / 1.277 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/1.098, allocations: 33.7 kB / 1.277 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/1.098, allocations: 499.3 kB / 1.277 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/1.098, allocations: 134 kB / 1.278 GB, free: 14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/1.099, allocations: 118.2 kB / 1.278 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.099, allocations: 334 kB / 1.278 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/1.099, allocations: 233.2 kB / 1.278 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/1.1, allocations: 409.2 kB / 1.279 GB, free: 12.85 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.002437/1.102, allocations: 1.195 MB / 1.28 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.102, allocations: 0 / 1.28 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001425/1.104, allocations: 0.7459 MB / 1.281 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.104, allocations: 7.938 kB / 1.281 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.104, allocations: 8 kB / 1.281 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.104, allocations: 8 kB / 1.281 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005799/1.104, allocations: 144 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/1.104, allocations: 11.94 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.106, allocations: 97.67 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/1.106, allocations: 24 kB / 1.281 GB, free: 10.52 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.0004909/1.106, allocations: 309.5 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/1.106, allocations: 102.8 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/1.107, allocations: 105 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/1.107, allocations: 4 kB / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.107, allocations: 0 / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006834/1.107, allocations: 0.6791 MB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/1.11, allocations: 1.573 MB / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.11, allocations: 4 kB / 1.284 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/1.11, allocations: 88.33 kB / 1.284 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.11, allocations: 12 kB / 1.284 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/1.11, allocations: 19.94 kB / 1.284 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/1.11, allocations: 7.984 kB / 1.284 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.11, allocations: 7.938 kB / 1.284 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.111, allocations: 0.8274 MB / 1.284 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/1.112, allocations: 243.9 kB / 1.285 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/1.112, allocations: 16.67 kB / 1.285 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008147/1.113, allocations: 57.38 kB / 1.285 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/1.113, allocations: 43.83 kB / 1.285 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/1.113, allocations: 29.11 kB / 1.285 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001096/1.114, allocations: 0.6996 MB / 1.286 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.114, allocations: 0 / 1.286 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008959/1.115, allocations: 260 kB / 1.286 GB, free: 5.156 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.0005155/1.116, allocations: 201.8 kB / 1.286 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009812/1.117, allocations: 0.5268 MB / 1.286 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.117, allocations: 0 / 1.286 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/1.117, allocations: 193.1 kB / 1.287 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/1.12, allocations: 0.6109 MB / 1.287 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/1.123, allocations: 2.254 MB / 1.289 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/1.124, allocations: 1.095 MB / 1.291 GB, free: 180 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.124, allocations: 79.36 kB / 1.291 GB, free: 100 kB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.124, allocations: 0 / 1.291 GB, free: 100 kB / 0.9981 GB Notification: Performance of Templates: time 0.02474/1.149, allocations: 16.31 MB / 1.307 GB, free: 15.94 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/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