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.001942/0.001942, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002383/0.002383, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.98 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.95/2.95, allocations: 476.7 MB / 0.7706 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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.001991/0.001991, allocations: 63.88 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3783, allocations: 170 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2534/0.6317, allocations: 194.4 MB / 1.474 GB, free: 8.02 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.643, allocations: 5.768 MB / 1.479 GB, free: 2.246 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.6447, allocations: 51.56 kB / 1.479 GB, free: 2.195 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.6465, allocations: 0.5981 MB / 1.48 GB, free: 1.594 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005957/0.6525, allocations: 1.941 MB / 1.482 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.6564, allocations: 1.22 MB / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004992/0.6614, allocations: 3.034 MB / 1.486 GB, free: 11.39 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.6628, allocations: 0.8204 MB / 1.487 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.6655, allocations: 1.129 MB / 1.488 GB, free: 9.414 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.6681, allocations: 1.036 MB / 1.489 GB, free: 8.379 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.6684, allocations: 120 kB / 1.489 GB, free: 8.262 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.6721, allocations: 1.559 MB / 1.491 GB, free: 6.699 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007655/0.6728, allocations: 0.5882 MB / 1.491 GB, free: 6.109 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.674, allocations: 0.7234 MB / 1.492 GB, free: 5.383 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0038/0.6778, allocations: 2.34 MB / 1.494 GB, free: 3.039 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6778, allocations: 0 / 1.494 GB, free: 3.039 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.106e-06/0.6778, allocations: 8 kB / 1.494 GB, free: 3.031 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.244e-05/0.6778, allocations: 0 / 1.494 GB, free: 3.031 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.002997/0.6808, allocations: 1.582 MB / 1.496 GB, free: 1.41 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6808, allocations: 11.97 kB / 1.496 GB, free: 1.398 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.6829, allocations: 334.9 kB / 1.496 GB, free: 1.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.6847, allocations: 0.8383 MB / 1.497 GB, free: 208 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.6847, allocations: 74 kB / 1.497 GB, free: 136 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.6849, allocations: 103.9 kB / 1.497 GB, free: 32 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.6869, allocations: 1.089 MB / 1.498 GB, free: 14.94 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.6869, allocations: 0 / 1.498 GB, free: 14.94 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.687, allocations: 44 kB / 1.498 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/0.6871, allocations: 41.98 kB / 1.498 GB, free: 14.85 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.6889, allocations: 0.9876 MB / 1.499 GB, free: 13.86 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.007253/0.6961, allocations: 4.17 MB / 1.503 GB, free: 9.398 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.6971, allocations: 0.57 MB / 1.504 GB, free: 8.824 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.6977, allocations: 318.6 kB / 1.504 GB, free: 8.508 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.6978, allocations: 36.39 kB / 1.504 GB, free: 8.473 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.6979, allocations: 43 kB / 1.504 GB, free: 8.422 MB / 1.201 GB Notification: Performance of pre-optimization done (n=53): time 3.066e-06/0.6979, allocations: 0 / 1.504 GB, free: 8.422 MB / 1.201 GB Notification: Performance of matching and sorting (n=55): time 0.004374/0.7023, allocations: 1.912 MB / 1.506 GB, free: 6.461 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.7023, allocations: 59.84 kB / 1.506 GB, free: 6.391 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.7036, allocations: 0.8844 MB / 1.507 GB, free: 5.5 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/0.7037, allocations: 41.7 kB / 1.507 GB, free: 5.453 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.7041, allocations: 0.5235 MB / 1.507 GB, free: 4.922 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.7044, allocations: 202.3 kB / 1.508 GB, free: 4.723 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.7046, allocations: 134.6 kB / 1.508 GB, free: 4.582 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7048, allocations: 333.9 kB / 1.508 GB, free: 4.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.7053, allocations: 285.8 kB / 1.508 GB, free: 3.973 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.706, allocations: 433 kB / 1.509 GB, free: 3.5 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.004108/0.7101, allocations: 1.682 MB / 1.51 GB, free: 1.766 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7101, allocations: 0 / 1.51 GB, free: 1.766 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001759/0.7118, allocations: 0.9286 MB / 1.511 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.7119, allocations: 8 kB / 1.511 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7119, allocations: 4 kB / 1.511 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.7121, allocations: 98.45 kB / 1.511 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.7129, allocations: 167.9 kB / 1.512 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.7172, allocations: 4.33 MB / 1.516 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009906/0.7182, allocations: 27.92 kB / 1.516 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.7182, allocations: 28 kB / 1.516 GB, free: 11.81 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.0006215/0.7188, allocations: 345.5 kB / 1.516 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.719, allocations: 107.4 kB / 1.516 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.7193, allocations: 105.2 kB / 1.516 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.7193, allocations: 12.06 kB / 1.516 GB, free: 11.24 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7193, allocations: 0 / 1.516 GB, free: 11.24 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.7205, allocations: 0.7599 MB / 1.517 GB, free: 10.43 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.7241, allocations: 1.957 MB / 1.519 GB, free: 8.379 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.7241, allocations: 7.938 kB / 1.519 GB, free: 8.371 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.7248, allocations: 147.8 kB / 1.519 GB, free: 8.227 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.7249, allocations: 36.84 kB / 1.519 GB, free: 8.188 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.725, allocations: 19.98 kB / 1.519 GB, free: 8.168 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.7265, allocations: 1.499 MB / 1.521 GB, free: 6.555 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.7265, allocations: 7.984 kB / 1.521 GB, free: 6.547 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.7286, allocations: 1.215 MB / 1.522 GB, free: 5.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.7292, allocations: 187.3 kB / 1.522 GB, free: 5.086 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.7293, allocations: 16 kB / 1.522 GB, free: 5.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.73, allocations: 41.66 kB / 1.522 GB, free: 5.031 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.7301, allocations: 51.64 kB / 1.522 GB, free: 4.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.7302, allocations: 27.98 kB / 1.522 GB, free: 4.953 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000917/0.7311, allocations: 0.62 MB / 1.523 GB, free: 4.34 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7311, allocations: 0 / 1.523 GB, free: 4.34 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009737/0.7321, allocations: 304 kB / 1.523 GB, free: 4.043 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.000345/0.7324, allocations: 173.3 kB / 1.523 GB, free: 3.867 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.7342, allocations: 0.9907 MB / 1.524 GB, free: 2.84 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7342, allocations: 5 kB / 1.524 GB, free: 2.836 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006976/0.7349, allocations: 426.4 kB / 1.525 GB, free: 2.406 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.7378, allocations: 0.6535 MB / 1.525 GB, free: 1.766 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.7421, allocations: 2.146 MB / 1.527 GB, free: 15.55 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.7431, allocations: 1.17 MB / 1.529 GB, free: 14.35 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009014/0.744, allocations: 252.4 kB / 1.529 GB, free: 14.1 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.7442, allocations: 79.44 kB / 1.529 GB, free: 14.02 MB / 1.232 GB Notification: Performance of SimCode: time 1.133e-06/0.7442, allocations: 0 / 1.529 GB, free: 14.02 MB / 1.232 GB Notification: Performance of Templates: time 0.04617/0.7904, allocations: 23.16 MB / 1.552 GB, free: 7.191 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.585023663938046]