Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.002538/0.002538, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.003/0.003, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.625/1.625, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.091/3.091, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.709e-05/3.948e-05, allocations: 2.859 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2693/0.2694, allocations: 187.5 MB / 0.9939 GB, free: 6 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.2815, allocations: 5.829 MB / 0.9996 GB, free: 164 kB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.2831, allocations: 59.5 kB / 0.9997 GB, free: 104 kB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2849, allocations: 0.5473 MB / 1 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.2908, allocations: 1.97 MB / 1.002 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.2945, allocations: 1.227 MB / 1.003 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.004748/0.2993, allocations: 3.07 MB / 1.006 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.301, allocations: 0.848 MB / 1.007 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.3045, allocations: 1.667 MB / 1.009 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.3068, allocations: 0.9421 MB / 1.01 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.3071, allocations: 124 kB / 1.01 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.3101, allocations: 1.215 MB / 1.011 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0008308/0.311, allocations: 0.6234 MB / 1.012 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0009356/0.3119, allocations: 0.5223 MB / 1.012 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.3162, allocations: 2.399 MB / 1.014 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3162, allocations: 4 kB / 1.014 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3162, allocations: 0 / 1.014 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.3162, allocations: 0 / 1.014 GB, free: 0.9023 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003579/0.3198, allocations: 1.775 MB / 1.016 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3198, allocations: 8.031 kB / 1.016 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.3222, allocations: 454.3 kB / 1.017 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.3243, allocations: 0.8684 MB / 1.018 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.3243, allocations: 70 kB / 1.018 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.3245, allocations: 108 kB / 1.018 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.3267, allocations: 1.271 MB / 1.019 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.3268, allocations: 8 kB / 1.019 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.3269, allocations: 47.92 kB / 1.019 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.327, allocations: 42 kB / 1.019 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3284, allocations: 0.6206 MB / 1.02 GB, free: 11.44 MB / 0.9792 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.007341/0.3357, allocations: 3.1 MB / 1.023 GB, free: 8.285 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009008/0.3366, allocations: 429.3 kB / 1.023 GB, free: 7.852 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.3371, allocations: 222.8 kB / 1.023 GB, free: 7.629 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.3373, allocations: 28.48 kB / 1.023 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/0.3374, allocations: 53.83 kB / 1.023 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.3374, allocations: 0 / 1.023 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of matching and sorting (n=55): time 0.004178/0.3416, allocations: 1.478 MB / 1.025 GB, free: 6.016 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.3416, allocations: 59.91 kB / 1.025 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3429, allocations: 0.8353 MB / 1.026 GB, free: 5.098 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.3429, allocations: 37.7 kB / 1.026 GB, free: 5.055 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/0.3435, allocations: 0.6275 MB / 1.026 GB, free: 4.418 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.3438, allocations: 222.2 kB / 1.027 GB, free: 4.199 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.3441, allocations: 156.3 kB / 1.027 GB, free: 4.039 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004467/0.3445, allocations: 0.6211 MB / 1.027 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.3449, allocations: 169.9 kB / 1.027 GB, free: 3.242 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/0.3458, allocations: 448.5 kB / 1.028 GB, free: 2.719 MB / 0.9792 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.003793/0.3496, allocations: 1.279 MB / 1.029 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3496, allocations: 4 kB / 1.029 GB, free: 1.367 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001492/0.3511, allocations: 0.7107 MB / 1.03 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3511, allocations: 4 kB / 1.03 GB, free: 0.6328 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3511, allocations: 4 kB / 1.03 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.3513, allocations: 90.94 kB / 1.03 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.3521, allocations: 151.8 kB / 1.03 GB, free: 388 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/0.3573, allocations: 5.553 MB / 1.035 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/0.3582, allocations: 16 kB / 1.035 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.3583, allocations: 32.28 kB / 1.036 GB, free: 10.41 MB / 0.9948 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005618/0.3589, allocations: 280.3 kB / 1.036 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.3591, allocations: 107.4 kB / 1.036 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.3593, allocations: 91.73 kB / 1.036 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.3593, allocations: 11.94 kB / 1.036 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3593, allocations: 0 / 1.036 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.3604, allocations: 0.5792 MB / 1.037 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.3642, allocations: 1.762 MB / 1.038 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3642, allocations: 4 kB / 1.038 GB, free: 7.418 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.3649, allocations: 136.3 kB / 1.038 GB, free: 7.285 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.365, allocations: 35.61 kB / 1.038 GB, free: 7.246 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.3651, allocations: 19.98 kB / 1.038 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.3668, allocations: 1.858 MB / 1.04 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3668, allocations: 4 kB / 1.04 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3687, allocations: 0.9924 MB / 1.041 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.3692, allocations: 155.4 kB / 1.041 GB, free: 4.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.3694, allocations: 15.98 kB / 1.041 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.3701, allocations: 29.95 kB / 1.041 GB, free: 3.977 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.3703, allocations: 55.58 kB / 1.041 GB, free: 3.922 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.981e-05/0.3704, allocations: 27.98 kB / 1.042 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001036/0.3714, allocations: 0.499 MB / 1.042 GB, free: 3.398 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3714, allocations: 0 / 1.042 GB, free: 3.398 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001283/0.3727, allocations: 315.9 kB / 1.042 GB, free: 3.09 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004182/0.3731, allocations: 175 kB / 1.042 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.3749, allocations: 1.005 MB / 1.043 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.3749, allocations: 4 kB / 1.043 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.3756, allocations: 419.7 kB / 1.044 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.3783, allocations: 0.5411 MB / 1.044 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4127/0.7911, allocations: 1.917 MB / 1.046 GB, free: 274 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.7916, allocations: 0.5458 MB / 1.047 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008914/0.7925, allocations: 188.4 kB / 1.047 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.7927, allocations: 74.34 kB / 1.047 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of SimCode: time 2.094e-06/0.7927, allocations: 1.625 kB / 1.047 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.03303/0.8257, allocations: 20.01 MB / 1.067 GB, free: 272.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 9.867744519026019]