Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001568/0.001568, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001919/0.001919, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00199/0.00199, allocations: 68.45 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 170 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2491/0.5772, allocations: 194.4 MB / 1.474 GB, free: 8.152 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.5914, allocations: 5.749 MB / 1.48 GB, free: 2.395 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.5939, allocations: 59.5 kB / 1.48 GB, free: 2.336 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.5963, allocations: 0.5981 MB / 1.481 GB, free: 1.734 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007869/0.6042, allocations: 1.939 MB / 1.483 GB, free: 15.79 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004933/0.6091, allocations: 1.227 MB / 1.484 GB, free: 14.57 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006522/0.6157, allocations: 3.035 MB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.6177, allocations: 0.8244 MB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.6209, allocations: 1.121 MB / 1.489 GB, free: 9.559 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003538/0.6244, allocations: 1.033 MB / 1.49 GB, free: 8.527 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.6249, allocations: 124 kB / 1.49 GB, free: 8.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.6299, allocations: 1.567 MB / 1.491 GB, free: 6.836 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.631, allocations: 0.5882 MB / 1.492 GB, free: 6.246 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.6324, allocations: 0.7234 MB / 1.493 GB, free: 5.52 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005894/0.6383, allocations: 2.34 MB / 1.495 GB, free: 3.172 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.6384, allocations: 0 / 1.495 GB, free: 3.172 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6384, allocations: 0 / 1.495 GB, free: 3.172 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.71e-05/0.6384, allocations: 4 kB / 1.495 GB, free: 3.168 MB / 1.186 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.00422/0.6426, allocations: 1.586 MB / 1.496 GB, free: 1.543 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.6427, allocations: 12.03 kB / 1.496 GB, free: 1.531 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.6459, allocations: 330.9 kB / 1.497 GB, free: 1.207 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.6481, allocations: 0.8422 MB / 1.498 GB, free: 344 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.6482, allocations: 77.98 kB / 1.498 GB, free: 268 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.6485, allocations: 100 kB / 1.498 GB, free: 168 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.651, allocations: 1.077 MB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.651, allocations: 4 kB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6511, allocations: 43.98 kB / 1.499 GB, free: 15.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.6512, allocations: 38 kB / 1.499 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.6529, allocations: 0.9954 MB / 1.5 GB, free: 14 MB / 1.201 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.006997/0.6599, allocations: 4.174 MB / 1.504 GB, free: 9.531 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.6608, allocations: 0.5668 MB / 1.505 GB, free: 8.957 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.6613, allocations: 322.5 kB / 1.505 GB, free: 8.637 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.6615, allocations: 28.42 kB / 1.505 GB, free: 8.609 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.6616, allocations: 43 kB / 1.505 GB, free: 8.559 MB / 1.201 GB Notification: Performance of pre-optimization done (n=53): time 3.356e-06/0.6616, allocations: 0 / 1.505 GB, free: 8.559 MB / 1.201 GB Notification: Performance of matching and sorting (n=55): time 0.004329/0.6659, allocations: 1.908 MB / 1.507 GB, free: 6.602 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.666, allocations: 67.78 kB / 1.507 GB, free: 6.523 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.6671, allocations: 0.8843 MB / 1.508 GB, free: 5.633 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.6672, allocations: 37.7 kB / 1.508 GB, free: 5.59 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.6676, allocations: 0.5274 MB / 1.508 GB, free: 5.055 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.6678, allocations: 206.2 kB / 1.508 GB, free: 4.852 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.668, allocations: 134.6 kB / 1.509 GB, free: 4.711 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6682, allocations: 334 kB / 1.509 GB, free: 4.379 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.6687, allocations: 289.8 kB / 1.509 GB, free: 4.098 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.6693, allocations: 429.1 kB / 1.51 GB, free: 3.629 MB / 1.201 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.003884/0.6732, allocations: 1.681 MB / 1.511 GB, free: 1.895 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6732, allocations: 4 kB / 1.511 GB, free: 1.891 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001685/0.6749, allocations: 0.9249 MB / 1.512 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.6749, allocations: 8 kB / 1.512 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6749, allocations: 4 kB / 1.512 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.6751, allocations: 102.4 kB / 1.512 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/0.6759, allocations: 171.8 kB / 1.512 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.6797, allocations: 4.314 MB / 1.517 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/0.6807, allocations: 28.2 kB / 1.517 GB, free: 11.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.6808, allocations: 35.98 kB / 1.517 GB, free: 11.94 MB / 1.217 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.0006869/0.6815, allocations: 341.5 kB / 1.517 GB, free: 11.6 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6817, allocations: 103.4 kB / 1.517 GB, free: 11.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.6819, allocations: 109.2 kB / 1.517 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6819, allocations: 4 kB / 1.517 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6819, allocations: 7.984 kB / 1.517 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.683, allocations: 0.7638 MB / 1.518 GB, free: 10.56 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.6864, allocations: 1.964 MB / 1.52 GB, free: 8.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6864, allocations: 4 kB / 1.52 GB, free: 8.496 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.6871, allocations: 143.8 kB / 1.52 GB, free: 8.355 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.6872, allocations: 36.83 kB / 1.52 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.6873, allocations: 16 kB / 1.52 GB, free: 8.301 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.6886, allocations: 1.502 MB / 1.522 GB, free: 6.684 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.6886, allocations: 7.938 kB / 1.522 GB, free: 6.676 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.6905, allocations: 1.207 MB / 1.523 GB, free: 5.406 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.691, allocations: 187.2 kB / 1.523 GB, free: 5.223 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6911, allocations: 23.98 kB / 1.523 GB, free: 5.199 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.6918, allocations: 24.64 kB / 1.523 GB, free: 5.176 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6919, allocations: 55.58 kB / 1.523 GB, free: 5.121 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.692, allocations: 31.98 kB / 1.523 GB, free: 5.09 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008483/0.6929, allocations: 0.6122 MB / 1.524 GB, free: 4.484 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6929, allocations: 4 kB / 1.524 GB, free: 4.48 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001045/0.6939, allocations: 308 kB / 1.524 GB, free: 4.18 MB / 1.217 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.0003611/0.6943, allocations: 176.1 kB / 1.524 GB, free: 4.004 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.6959, allocations: 0.9907 MB / 1.525 GB, free: 2.977 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6959, allocations: 1 kB / 1.525 GB, free: 2.977 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006532/0.6965, allocations: 434.7 kB / 1.525 GB, free: 2.539 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.6992, allocations: 0.6444 MB / 1.526 GB, free: 1.906 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.7029, allocations: 2.236 MB / 1.528 GB, free: 15.59 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.7038, allocations: 1.17 MB / 1.529 GB, free: 14.39 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.704, allocations: 79.44 kB / 1.53 GB, free: 14.31 MB / 1.233 GB Notification: Performance of SimCode: time 1.062e-06/0.704, allocations: 0 / 1.53 GB, free: 14.31 MB / 1.233 GB Notification: Performance of Templates: time 0.03851/0.7426, allocations: 27.14 MB / 1.556 GB, free: 3.301 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 15.492585985019105]