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.001777/0.001777, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002211/0.002211, allocations: 213.9 kB / 22.25 MB, free: 4.855 MB / 14.72 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.653/1.653, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.445/3.445, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 71.44 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4085, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2287/0.6372, allocations: 168.4 MB / 1.49 GB, free: 8.797 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.648, allocations: 5.441 MB / 1.495 GB, free: 3.344 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.6494, allocations: 55.5 kB / 1.495 GB, free: 3.289 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.6511, allocations: 0.5435 MB / 1.496 GB, free: 2.742 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.6564, allocations: 1.918 MB / 1.498 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.6598, allocations: 1.202 MB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004675/0.6645, allocations: 3.005 MB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.6663, allocations: 0.8204 MB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.6696, allocations: 1.324 MB / 1.504 GB, free: 10.44 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.6725, allocations: 0.9808 MB / 1.505 GB, free: 9.461 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.673, allocations: 124 kB / 1.505 GB, free: 9.34 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.6764, allocations: 1.2 MB / 1.506 GB, free: 8.137 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.6775, allocations: 0.5844 MB / 1.507 GB, free: 7.551 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.6793, allocations: 0.603 MB / 1.507 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.6842, allocations: 2.316 MB / 1.51 GB, free: 4.621 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6842, allocations: 0 / 1.51 GB, free: 4.621 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6842, allocations: 0 / 1.51 GB, free: 4.621 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.08e-05/0.6842, allocations: 0 / 1.51 GB, free: 4.621 MB / 1.201 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.004645/0.6889, allocations: 1.582 MB / 1.511 GB, free: 3 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6889, allocations: 12.03 kB / 1.511 GB, free: 2.988 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.6915, allocations: 334.9 kB / 1.512 GB, free: 2.66 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.6943, allocations: 0.8423 MB / 1.512 GB, free: 1.789 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.6944, allocations: 78 kB / 1.512 GB, free: 1.715 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.6946, allocations: 99.98 kB / 1.513 GB, free: 1.617 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/0.6975, allocations: 1.537 MB / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.6976, allocations: 0 / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.6977, allocations: 44 kB / 1.514 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.6978, allocations: 45.92 kB / 1.514 GB, free: 15.87 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.6999, allocations: 0.9798 MB / 1.515 GB, free: 14.89 MB / 1.217 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.007138/0.7071, allocations: 2.726 MB / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.7081, allocations: 0.5688 MB / 1.518 GB, free: 11.54 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.7087, allocations: 316.1 kB / 1.519 GB, free: 11.23 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.7089, allocations: 28.41 kB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.7089, allocations: 46.94 kB / 1.519 GB, free: 11.14 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/0.7089, allocations: 0 / 1.519 GB, free: 11.14 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.004674/0.7136, allocations: 1.896 MB / 1.521 GB, free: 9.207 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.7136, allocations: 59.91 kB / 1.521 GB, free: 9.137 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.7148, allocations: 0.6957 MB / 1.521 GB, free: 8.43 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.7148, allocations: 41.7 kB / 1.521 GB, free: 8.383 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.7154, allocations: 0.5312 MB / 1.522 GB, free: 7.844 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.7157, allocations: 206.2 kB / 1.522 GB, free: 7.641 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.716, allocations: 138.6 kB / 1.522 GB, free: 7.5 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.7162, allocations: 382.8 kB / 1.523 GB, free: 7.117 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.7168, allocations: 281.8 kB / 1.523 GB, free: 6.84 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/0.7175, allocations: 496.4 kB / 1.523 GB, free: 6.293 MB / 1.217 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.004369/0.7219, allocations: 1.673 MB / 1.525 GB, free: 4.57 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7219, allocations: 0 / 1.525 GB, free: 4.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001752/0.7237, allocations: 0.9129 MB / 1.526 GB, free: 3.641 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.7237, allocations: 4 kB / 1.526 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.7237, allocations: 4 kB / 1.526 GB, free: 3.633 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.7239, allocations: 94.52 kB / 1.526 GB, free: 3.531 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.7247, allocations: 176.2 kB / 1.526 GB, free: 3.359 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.7291, allocations: 4.246 MB / 1.53 GB, free: 14.81 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009131/0.73, allocations: 23.98 kB / 1.53 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.7301, allocations: 28 kB / 1.53 GB, free: 14.76 MB / 1.232 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.0006483/0.7307, allocations: 348.2 kB / 1.531 GB, free: 14.41 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.7309, allocations: 91.42 kB / 1.531 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.7311, allocations: 103.7 kB / 1.531 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7311, allocations: 8 kB / 1.531 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7311, allocations: 8.031 kB / 1.531 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/0.7324, allocations: 0.756 MB / 1.532 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.736, allocations: 1.708 MB / 1.533 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.736, allocations: 0 / 1.533 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.7367, allocations: 151.8 kB / 1.533 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.7368, allocations: 40.78 kB / 1.533 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.7369, allocations: 20.39 kB / 1.533 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.7383, allocations: 1.471 MB / 1.535 GB, free: 9.816 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7384, allocations: 4 kB / 1.535 GB, free: 9.812 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.7403, allocations: 1.195 MB / 1.536 GB, free: 8.559 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.7408, allocations: 159.4 kB / 1.536 GB, free: 8.402 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.741, allocations: 24.05 kB / 1.536 GB, free: 8.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.7418, allocations: 32.53 kB / 1.536 GB, free: 8.348 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.7419, allocations: 48.09 kB / 1.536 GB, free: 8.301 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.742, allocations: 27.98 kB / 1.536 GB, free: 8.273 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006656/0.7426, allocations: 487 kB / 1.537 GB, free: 7.801 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7426, allocations: 0 / 1.537 GB, free: 7.801 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001075/0.7437, allocations: 303.9 kB / 1.537 GB, free: 7.504 MB / 1.232 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.0003809/0.7441, allocations: 184.8 kB / 1.537 GB, free: 7.316 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.7458, allocations: 0.9798 MB / 1.538 GB, free: 6.301 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7458, allocations: 0 / 1.538 GB, free: 6.301 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.7466, allocations: 446 kB / 1.539 GB, free: 5.852 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.749, allocations: 0.5201 MB / 1.539 GB, free: 5.344 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.753, allocations: 2.126 MB / 1.541 GB, free: 3.152 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.7538, allocations: 0.5698 MB / 1.542 GB, free: 2.551 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000858/0.7547, allocations: 230.9 kB / 1.542 GB, free: 2.32 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.7549, allocations: 63.44 kB / 1.542 GB, free: 2.258 MB / 1.232 GB Notification: Performance of SimCode: time 9.02e-07/0.7549, allocations: 0 / 1.542 GB, free: 2.258 MB / 1.232 GB Notification: Performance of Templates: time 0.04125/0.7962, allocations: 21.46 MB / 1.563 GB, free: 13.28 MB / 1.264 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] 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: 10.967277508229017]