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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 191.1 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.896/2.896, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 75.88 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.197, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3199/1.517, allocations: 191.5 MB / 1.461 GB, free: 4.398 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01578/1.533, allocations: 5.753 MB / 1.467 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/1.535, allocations: 47.75 kB / 1.467 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/1.538, allocations: 0.5981 MB / 1.467 GB, free: 13.99 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007936/1.546, allocations: 1.89 MB / 1.469 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004696/1.551, allocations: 1.208 MB / 1.47 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005532/1.556, allocations: 2.974 MB / 1.473 GB, free: 7.914 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/1.558, allocations: 0.8236 MB / 1.474 GB, free: 7.07 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/1.56, allocations: 1.105 MB / 1.475 GB, free: 5.961 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/1.563, allocations: 1.03 MB / 1.476 GB, free: 4.934 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005119/1.564, allocations: 128 kB / 1.476 GB, free: 4.809 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/1.568, allocations: 1.535 MB / 1.478 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/1.569, allocations: 0.5804 MB / 1.478 GB, free: 2.688 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001908/1.57, allocations: 0.7195 MB / 1.479 GB, free: 1.965 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005446/1.576, allocations: 2.344 MB / 1.481 GB, free: 15.61 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.576, allocations: 0 / 1.481 GB, free: 15.61 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.924e-06/1.576, allocations: 0 / 1.481 GB, free: 15.61 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.342e-05/1.576, allocations: 0 / 1.481 GB, free: 15.61 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/1.58, allocations: 1.661 MB / 1.483 GB, free: 13.89 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.58, allocations: 16.03 kB / 1.483 GB, free: 13.88 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/1.582, allocations: 338.9 kB / 1.483 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.584, allocations: 0.9182 MB / 1.484 GB, free: 12.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/1.584, allocations: 77.98 kB / 1.484 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/1.585, allocations: 96 kB / 1.484 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/1.586, allocations: 1.081 MB / 1.485 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.587, allocations: 0 / 1.485 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.587, allocations: 40 kB / 1.485 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/1.587, allocations: 38 kB / 1.485 GB, free: 11.25 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/1.588, allocations: 0.9954 MB / 1.486 GB, free: 10.26 MB / 1.186 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.006969/1.595, allocations: 4.244 MB / 1.491 GB, free: 5.715 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/1.596, allocations: 0.5668 MB / 1.491 GB, free: 5.141 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/1.597, allocations: 322.5 kB / 1.491 GB, free: 4.816 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/1.597, allocations: 101.5 kB / 1.492 GB, free: 4.699 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.597, allocations: 39 kB / 1.492 GB, free: 4.652 MB / 1.186 GB Notification: Performance of pre-optimization done (n=53): time 4.208e-06/1.597, allocations: 3.984 kB / 1.492 GB, free: 4.648 MB / 1.186 GB Notification: Performance of matching and sorting (n=55): time 0.004844/1.602, allocations: 2.218 MB / 1.494 GB, free: 2.316 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/1.602, allocations: 63.91 kB / 1.494 GB, free: 2.242 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/1.604, allocations: 0.8804 MB / 1.495 GB, free: 1.355 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/1.604, allocations: 37.7 kB / 1.495 GB, free: 1.312 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/1.604, allocations: 0.5352 MB / 1.495 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/1.604, allocations: 198.3 kB / 1.495 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/1.605, allocations: 130.6 kB / 1.496 GB, free: 448 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.605, allocations: 337.9 kB / 1.496 GB, free: 104 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/1.605, allocations: 281.8 kB / 1.496 GB, free: 15.83 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/1.606, allocations: 433 kB / 1.497 GB, free: 15.36 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.004363/1.611, allocations: 1.747 MB / 1.498 GB, free: 13.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.611, allocations: 4 kB / 1.498 GB, free: 13.54 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001928/1.612, allocations: 0.9267 MB / 1.499 GB, free: 12.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.612, allocations: 8 kB / 1.499 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.612, allocations: 4 kB / 1.499 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/1.613, allocations: 102.4 kB / 1.499 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000767/1.613, allocations: 163.8 kB / 1.499 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004817/1.618, allocations: 4.628 MB / 1.504 GB, free: 7.262 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.619, allocations: 35.88 kB / 1.504 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/1.619, allocations: 28 kB / 1.504 GB, free: 7.199 MB / 1.201 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.0006109/1.62, allocations: 346.2 kB / 1.504 GB, free: 6.852 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.62, allocations: 107.4 kB / 1.504 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/1.621, allocations: 117 kB / 1.505 GB, free: 6.625 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.621, allocations: 8 kB / 1.505 GB, free: 6.617 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/1.621, allocations: 0 / 1.505 GB, free: 6.617 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/1.622, allocations: 0.7652 MB / 1.505 GB, free: 5.801 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/1.626, allocations: 1.985 MB / 1.507 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.626, allocations: 0 / 1.507 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/1.626, allocations: 156.2 kB / 1.507 GB, free: 3.559 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/1.626, allocations: 36.84 kB / 1.507 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/1.626, allocations: 19.98 kB / 1.507 GB, free: 3.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/1.628, allocations: 1.613 MB / 1.509 GB, free: 1.75 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.628, allocations: 3.938 kB / 1.509 GB, free: 1.746 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.63, allocations: 1.205 MB / 1.51 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/1.631, allocations: 264.3 kB / 1.51 GB, free: 212 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.631, allocations: 19.98 kB / 1.51 GB, free: 192 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/1.632, allocations: 34 kB / 1.51 GB, free: 160 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.632, allocations: 55.81 kB / 1.511 GB, free: 104 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/1.632, allocations: 27.98 kB / 1.511 GB, free: 76 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001018/1.633, allocations: 0.6122 MB / 1.511 GB, free: 15.47 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.633, allocations: 0 / 1.511 GB, free: 15.47 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001077/1.634, allocations: 307.9 kB / 1.511 GB, free: 15.17 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.000517/1.635, allocations: 200.1 kB / 1.512 GB, free: 14.97 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00203/1.637, allocations: 0.9867 MB / 1.513 GB, free: 13.94 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.637, allocations: 0 / 1.513 GB, free: 13.94 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/1.637, allocations: 439.8 kB / 1.513 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.641, allocations: 0.6351 MB / 1.514 GB, free: 12.88 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/1.645, allocations: 2.15 MB / 1.516 GB, free: 10.66 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.646, allocations: 1.174 MB / 1.517 GB, free: 9.449 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001111/1.647, allocations: 252.4 kB / 1.517 GB, free: 9.199 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/1.648, allocations: 79.42 kB / 1.517 GB, free: 9.121 MB / 1.217 GB Notification: Performance of SimCode: time 9.01e-07/1.648, allocations: 0 / 1.517 GB, free: 9.121 MB / 1.217 GB Notification: Performance of Templates: time 0.04529/1.693, allocations: 22.85 MB / 1.54 GB, free: 2.594 MB / 1.232 GB " [Timeout remaining time 298] 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 -s cvode -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_2/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.68728237785399]