Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001653/0.001653, allocations: 100.1 kB / 15.88 MB, free: 12 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.002085/0.002086, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.983/1.983, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6649 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7325, allocations: 140.4 MB / 0.9496 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2144/0.9469, allocations: 188.1 MB / 1.133 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.9575, allocations: 5.753 MB / 1.139 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.9594, allocations: 35.75 kB / 1.139 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.9614, allocations: 0.4897 MB / 1.139 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.9661, allocations: 1.521 MB / 1.141 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.9695, allocations: 1.084 MB / 1.142 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.9738, allocations: 3.479 MB / 1.145 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.9753, allocations: 0.845 MB / 1.146 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.9776, allocations: 0.8985 MB / 1.147 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.98, allocations: 0.8524 MB / 1.148 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.9804, allocations: 52 kB / 1.148 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.9841, allocations: 1.707 MB / 1.15 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007935/0.985, allocations: 450.7 kB / 1.15 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.9864, allocations: 0.5714 MB / 1.151 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.989, allocations: 1.579 MB / 1.152 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.989, allocations: 0 / 1.152 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.324e-06/0.989, allocations: 0 / 1.152 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.43e-05/0.9891, allocations: 0 / 1.152 GB, free: 2.039 MB / 0.9044 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.003568/0.9927, allocations: 1.484 MB / 1.154 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.9927, allocations: 8.031 kB / 1.154 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.995, allocations: 330.3 kB / 1.154 GB, free: 172 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.9967, allocations: 0.7765 MB / 1.155 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.997, allocations: 117.9 kB / 1.155 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.9972, allocations: 91.98 kB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.999, allocations: 1.068 MB / 1.156 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.9991, allocations: 0 / 1.156 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.9992, allocations: 40 kB / 1.156 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.9992, allocations: 37.98 kB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/1.001, allocations: 0.8353 MB / 1.157 GB, free: 13.13 MB / 0.92 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.005606/1.006, allocations: 4.06 MB / 1.161 GB, free: 8.805 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/1.007, allocations: 367.9 kB / 1.161 GB, free: 8.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/1.007, allocations: 208.8 kB / 1.161 GB, free: 8.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.007, allocations: 109.1 kB / 1.161 GB, free: 8.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.007, allocations: 38.56 kB / 1.161 GB, free: 8.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 8.667e-06/1.007, allocations: 0 / 1.161 GB, free: 8.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002635/1.01, allocations: 1.34 MB / 1.163 GB, free: 6.664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.01, allocations: 55.41 kB / 1.163 GB, free: 6.598 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.011, allocations: 0.996 MB / 1.164 GB, free: 5.578 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/1.012, allocations: 33.7 kB / 1.164 GB, free: 5.539 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/1.012, allocations: 491.3 kB / 1.164 GB, free: 5.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/1.012, allocations: 145.9 kB / 1.164 GB, free: 4.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/1.012, allocations: 114.2 kB / 1.165 GB, free: 4.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.012, allocations: 334 kB / 1.165 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/1.013, allocations: 233.1 kB / 1.165 GB, free: 4.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/1.013, allocations: 405.3 kB / 1.165 GB, free: 3.77 MB / 0.92 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.002391/1.016, allocations: 1.191 MB / 1.167 GB, free: 2.492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/1.016, allocations: 0 / 1.167 GB, free: 2.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001322/1.017, allocations: 0.7497 MB / 1.167 GB, free: 1.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.017, allocations: 8 kB / 1.167 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.017, allocations: 8.234 kB / 1.167 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.017, allocations: 12 kB / 1.167 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/1.018, allocations: 139.8 kB / 1.168 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/1.018, allocations: 11.98 kB / 1.168 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009401/1.019, allocations: 87.78 kB / 1.168 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/1.019, allocations: 28 kB / 1.168 GB, free: 1.445 MB / 0.92 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.0004433/1.019, allocations: 314.9 kB / 1.168 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.019, allocations: 106.7 kB / 1.168 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/1.02, allocations: 101 kB / 1.168 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.02, allocations: 8 kB / 1.168 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.02, allocations: 0 / 1.168 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006617/1.02, allocations: 0.6752 MB / 1.169 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/1.023, allocations: 1.586 MB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/1.023, allocations: 4 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/1.023, allocations: 83.91 kB / 1.17 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.023, allocations: 7.938 kB / 1.17 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/1.023, allocations: 15.98 kB / 1.17 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/1.023, allocations: 7.938 kB / 1.17 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.023, allocations: 8 kB / 1.17 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/1.024, allocations: 0.8256 MB / 1.171 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/1.024, allocations: 239.9 kB / 1.171 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.025, allocations: 15.98 kB / 1.172 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/1.025, allocations: 63.73 kB / 1.172 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/1.025, allocations: 39.84 kB / 1.172 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/1.025, allocations: 23.98 kB / 1.172 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009964/1.026, allocations: 0.7035 MB / 1.172 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.026, allocations: 0 / 1.172 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008485/1.027, allocations: 256 kB / 1.173 GB, free: 12.09 MB / 0.9356 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.0005023/1.028, allocations: 205.6 kB / 1.173 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008786/1.029, allocations: 488.3 kB / 1.173 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.029, allocations: 0 / 1.173 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/1.029, allocations: 201.8 kB / 1.173 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.031, allocations: 0.5969 MB / 1.174 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/1.034, allocations: 2.247 MB / 1.176 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/1.035, allocations: 1.11 MB / 1.177 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/1.035, allocations: 79.42 kB / 1.177 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of SimCode: time 5.82e-07/1.035, allocations: 4 kB / 1.177 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.0262/1.061, allocations: 16.31 MB / 1.193 GB, free: 6.918 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches