Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001113/0.001113, allocations: 195 kB / 16.14 MB, free: 6.648 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.88 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6749, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2002/0.8751, allocations: 188.1 MB / 1.2 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008835/0.884, allocations: 5.753 MB / 1.206 GB, free: 368 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.8851, allocations: 35.75 kB / 1.206 GB, free: 332 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.8866, allocations: 0.4935 MB / 1.206 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.8901, allocations: 1.521 MB / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.8929, allocations: 1.082 MB / 1.209 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.8965, allocations: 3.488 MB / 1.212 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.8979, allocations: 0.8527 MB / 1.213 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.8998, allocations: 0.883 MB / 1.214 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.902, allocations: 0.8579 MB / 1.215 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.9023, allocations: 52 kB / 1.215 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.9055, allocations: 1.703 MB / 1.217 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006193/0.9062, allocations: 462.6 kB / 1.217 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.9072, allocations: 0.5714 MB / 1.218 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003262/0.9104, allocations: 2.135 MB / 1.22 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9105, allocations: 3.938 kB / 1.22 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9105, allocations: 4 kB / 1.22 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.728e-05/0.9105, allocations: 0 / 1.22 GB, free: 2.18 MB / 0.9669 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.002489/0.913, allocations: 1.472 MB / 1.221 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.9131, allocations: 12.03 kB / 1.221 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.9151, allocations: 326.3 kB / 1.221 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.9162, allocations: 0.7727 MB / 1.222 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.9166, allocations: 121.9 kB / 1.222 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.9167, allocations: 80 kB / 1.222 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.9184, allocations: 1.084 MB / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.9184, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/0.9185, allocations: 40 kB / 1.224 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.9186, allocations: 30 kB / 1.224 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.9201, allocations: 0.843 MB / 1.224 GB, free: 13.29 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.005085/0.9251, allocations: 4.054 MB / 1.228 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.9258, allocations: 370.6 kB / 1.229 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.9261, allocations: 213.3 kB / 1.229 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.9263, allocations: 101 kB / 1.229 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.9263, allocations: 46.5 kB / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 2.936e-06/0.9263, allocations: 0 / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002534/0.9289, allocations: 1.324 MB / 1.23 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.9289, allocations: 55.41 kB / 1.23 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.9303, allocations: 0.992 MB / 1.231 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.9304, allocations: 37.7 kB / 1.231 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.9307, allocations: 495.3 kB / 1.232 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.9309, allocations: 142 kB / 1.232 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.9311, allocations: 118.2 kB / 1.232 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.9312, allocations: 330 kB / 1.232 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.9317, allocations: 233.2 kB / 1.233 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.9323, allocations: 401.2 kB / 1.233 GB, free: 3.941 MB / 0.9825 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.0025/0.9348, allocations: 1.187 MB / 1.234 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.9348, allocations: 4 kB / 1.234 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001481/0.9363, allocations: 0.7497 MB / 1.235 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.9363, allocations: 11.94 kB / 1.235 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.9364, allocations: 4 kB / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.9364, allocations: 8 kB / 1.235 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.937, allocations: 148 kB / 1.235 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.937, allocations: 11.94 kB / 1.235 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.9381, allocations: 95.67 kB / 1.235 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.9382, allocations: 27.94 kB / 1.235 GB, free: 1.605 MB / 0.9825 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.0005594/0.9388, allocations: 309.5 kB / 1.235 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.939, allocations: 102.8 kB / 1.236 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.9392, allocations: 101 kB / 1.236 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.9392, allocations: 4 kB / 1.236 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.9393, allocations: 0 / 1.236 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007241/0.94, allocations: 0.683 MB / 1.236 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.9425, allocations: 1.575 MB / 1.238 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9425, allocations: 7.984 kB / 1.238 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.9429, allocations: 88.34 kB / 1.238 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.9429, allocations: 15.94 kB / 1.238 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.943, allocations: 12 kB / 1.238 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.943, allocations: 7.984 kB / 1.238 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.943, allocations: 7.938 kB / 1.238 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.9441, allocations: 0.8249 MB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.9445, allocations: 239.9 kB / 1.239 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.9447, allocations: 15.98 kB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/0.9455, allocations: 57.03 kB / 1.239 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.9456, allocations: 39.92 kB / 1.239 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.9456, allocations: 35.97 kB / 1.239 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001042/0.9467, allocations: 0.6956 MB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9467, allocations: 0 / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008647/0.9476, allocations: 264 kB / 1.24 GB, free: 12.25 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.000514/0.9481, allocations: 204.4 kB / 1.24 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009434/0.949, allocations: 0.4921 MB / 1.241 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.9491, allocations: 0 / 1.241 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.9494, allocations: 189 kB / 1.241 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.9522, allocations: 0.5967 MB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.9552, allocations: 2.175 MB / 1.244 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.9559, allocations: 1.103 MB / 1.245 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000908/0.9569, allocations: 240.2 kB / 1.245 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.9571, allocations: 71.42 kB / 1.245 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.9571, allocations: 0 / 1.245 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of Templates: time 0.5773/1.534, allocations: 18.96 MB / 1.264 GB, free: 231.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches