Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001402/0.001402, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001923/0.001923, allocations: 214 kB / 22.24 MB, free: 5.262 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.647/1.647, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.552/3.552, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002437/0.002437, allocations: 67.86 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4157, allocations: 181.9 MB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2475/0.6632, allocations: 168.5 MB / 1.528 GB, free: 4.41 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.6756, allocations: 5.422 MB / 1.534 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.6774, allocations: 55.56 kB / 1.534 GB, free: 14.92 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.6796, allocations: 0.5474 MB / 1.534 GB, free: 14.37 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006348/0.686, allocations: 1.921 MB / 1.536 GB, free: 12.45 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.6898, allocations: 1.196 MB / 1.537 GB, free: 11.25 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00492/0.6947, allocations: 3.014 MB / 1.54 GB, free: 8.23 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.6965, allocations: 0.8087 MB / 1.541 GB, free: 7.402 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.6998, allocations: 1.339 MB / 1.542 GB, free: 6.059 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.7027, allocations: 0.983 MB / 1.543 GB, free: 5.078 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.7032, allocations: 120 kB / 1.543 GB, free: 4.961 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.7066, allocations: 1.188 MB / 1.545 GB, free: 3.77 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000986/0.7076, allocations: 0.596 MB / 1.545 GB, free: 3.172 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.7092, allocations: 0.5952 MB / 1.546 GB, free: 2.574 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.7142, allocations: 2.32 MB / 1.548 GB, free: 252 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.7142, allocations: 4 kB / 1.548 GB, free: 248 kB / 1.232 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7142, allocations: 0 / 1.548 GB, free: 248 kB / 1.232 GB Notification: Performance of Transformations before backend: time 8.011e-05/0.7142, allocations: 0 / 1.548 GB, free: 248 kB / 1.232 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.004285/0.7185, allocations: 1.578 MB / 1.55 GB, free: 14.62 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.7186, allocations: 16.02 kB / 1.55 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.7209, allocations: 330.9 kB / 1.55 GB, free: 14.29 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.7231, allocations: 0.8538 MB / 1.551 GB, free: 13.4 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.7232, allocations: 70 kB / 1.551 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.7234, allocations: 96 kB / 1.551 GB, free: 13.24 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.7259, allocations: 1.537 MB / 1.552 GB, free: 11.59 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.726, allocations: 7.984 kB / 1.552 GB, free: 11.58 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.7261, allocations: 43.98 kB / 1.552 GB, free: 11.54 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/0.7262, allocations: 38 kB / 1.552 GB, free: 11.5 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.7281, allocations: 0.9876 MB / 1.553 GB, free: 10.51 MB / 1.248 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.006763/0.7349, allocations: 2.718 MB / 1.556 GB, free: 7.742 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009925/0.7359, allocations: 0.5645 MB / 1.557 GB, free: 7.172 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.7365, allocations: 326.5 kB / 1.557 GB, free: 6.848 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.7366, allocations: 28.41 kB / 1.557 GB, free: 6.82 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.7367, allocations: 43 kB / 1.557 GB, free: 6.77 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 2.996e-06/0.7367, allocations: 0 / 1.557 GB, free: 6.77 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.004677/0.7414, allocations: 1.892 MB / 1.559 GB, free: 4.828 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.7414, allocations: 63.84 kB / 1.559 GB, free: 4.754 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.7425, allocations: 0.6918 MB / 1.56 GB, free: 4.055 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/0.7426, allocations: 41.7 kB / 1.56 GB, free: 4.008 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.7431, allocations: 0.5467 MB / 1.56 GB, free: 3.453 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.7434, allocations: 206.2 kB / 1.56 GB, free: 3.25 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.7436, allocations: 130.6 kB / 1.56 GB, free: 3.117 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.7438, allocations: 386.8 kB / 1.561 GB, free: 2.73 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.7444, allocations: 281.8 kB / 1.561 GB, free: 2.453 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.745, allocations: 488.4 kB / 1.562 GB, free: 1.914 MB / 1.248 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.004378/0.7494, allocations: 1.673 MB / 1.563 GB, free: 192 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7494, allocations: 4 kB / 1.563 GB, free: 188 kB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00177/0.7512, allocations: 0.9133 MB / 1.564 GB, free: 15.25 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.7512, allocations: 9.875 kB / 1.564 GB, free: 15.24 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.7512, allocations: 4 kB / 1.564 GB, free: 15.24 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.7515, allocations: 98.45 kB / 1.564 GB, free: 15.13 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.7522, allocations: 163.7 kB / 1.564 GB, free: 14.97 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.7563, allocations: 4.249 MB / 1.569 GB, free: 10.42 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.7573, allocations: 32.31 kB / 1.569 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.554e-05/0.7574, allocations: 28 kB / 1.569 GB, free: 10.36 MB / 1.264 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.0007625/0.7582, allocations: 349.5 kB / 1.569 GB, free: 10.01 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.7585, allocations: 91.42 kB / 1.569 GB, free: 9.918 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.7587, allocations: 95.72 kB / 1.569 GB, free: 9.824 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7587, allocations: 4 kB / 1.569 GB, free: 9.82 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7587, allocations: 0 / 1.569 GB, free: 9.82 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/0.76, allocations: 0.7638 MB / 1.57 GB, free: 9.008 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.7637, allocations: 1.693 MB / 1.572 GB, free: 7.238 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.7637, allocations: 12.09 kB / 1.572 GB, free: 7.227 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.7644, allocations: 143.8 kB / 1.572 GB, free: 7.086 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.7645, allocations: 48.77 kB / 1.572 GB, free: 7.035 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.7646, allocations: 16 kB / 1.572 GB, free: 7.02 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.7661, allocations: 1.468 MB / 1.573 GB, free: 5.445 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.7661, allocations: 12 kB / 1.573 GB, free: 5.434 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.7681, allocations: 1.199 MB / 1.574 GB, free: 4.18 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.7686, allocations: 163.7 kB / 1.574 GB, free: 4.02 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.7688, allocations: 16 kB / 1.574 GB, free: 4.004 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.7696, allocations: 38.14 kB / 1.575 GB, free: 3.969 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.7697, allocations: 55.78 kB / 1.575 GB, free: 3.914 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.7698, allocations: 31.98 kB / 1.575 GB, free: 3.883 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007454/0.7706, allocations: 483 kB / 1.575 GB, free: 3.414 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.7706, allocations: 0 / 1.575 GB, free: 3.414 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001149/0.7717, allocations: 303.9 kB / 1.575 GB, free: 3.117 MB / 1.264 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.0004044/0.7721, allocations: 169.6 kB / 1.576 GB, free: 2.945 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.7739, allocations: 0.9877 MB / 1.576 GB, free: 1.918 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.7739, allocations: 4 kB / 1.577 GB, free: 1.914 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.7746, allocations: 426.4 kB / 1.577 GB, free: 1.484 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.7772, allocations: 0.5367 MB / 1.577 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.7814, allocations: 2.116 MB / 1.579 GB, free: 14.78 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/0.7823, allocations: 0.5698 MB / 1.58 GB, free: 14.18 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009265/0.7832, allocations: 234.8 kB / 1.58 GB, free: 13.94 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.7835, allocations: 67.44 kB / 1.58 GB, free: 13.88 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/0.7835, allocations: 0 / 1.58 GB, free: 13.88 MB / 1.279 GB Notification: Performance of Templates: time 0.03931/0.8228, allocations: 21.44 MB / 1.601 GB, free: 8.895 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.639207813888788]