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.001589/0.001589, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.001933/0.001933, allocations: 210.4 kB / 19.43 MB, free: 3.656 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 / 252.8 MB, free: 8.957 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.532/3.532, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 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.002101/0.002101, allocations: 72.72 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4152, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.298/0.7132, allocations: 194.1 MB / 1.511 GB, free: 15.93 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.725, allocations: 5.739 MB / 1.516 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.7274, allocations: 59.5 kB / 1.517 GB, free: 10.12 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.7294, allocations: 0.5981 MB / 1.517 GB, free: 9.516 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005834/0.7353, allocations: 1.902 MB / 1.519 GB, free: 7.605 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.7388, allocations: 1.2 MB / 1.52 GB, free: 6.414 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004929/0.7438, allocations: 2.952 MB / 1.523 GB, free: 3.457 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.7455, allocations: 0.9409 MB / 1.524 GB, free: 2.496 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003152/0.7486, allocations: 1.312 MB / 1.525 GB, free: 1.18 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.7508, allocations: 1.016 MB / 1.526 GB, free: 168 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.751, allocations: 128 kB / 1.526 GB, free: 40 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.7543, allocations: 1.516 MB / 1.528 GB, free: 14.52 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008191/0.7551, allocations: 0.5804 MB / 1.528 GB, free: 13.94 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.7563, allocations: 0.7312 MB / 1.529 GB, free: 13.2 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004698/0.761, allocations: 2.34 MB / 1.531 GB, free: 10.86 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.761, allocations: 3.938 kB / 1.531 GB, free: 10.85 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.493e-06/0.761, allocations: 4 kB / 1.531 GB, free: 10.85 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.761, allocations: 0 / 1.531 GB, free: 10.85 MB / 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.003243/0.7643, allocations: 1.657 MB / 1.533 GB, free: 9.133 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.7643, allocations: 8.031 kB / 1.533 GB, free: 9.125 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.7665, allocations: 334.9 kB / 1.533 GB, free: 8.797 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.7682, allocations: 0.926 MB / 1.534 GB, free: 7.828 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/0.7682, allocations: 70 kB / 1.534 GB, free: 7.762 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.7684, allocations: 96 kB / 1.534 GB, free: 7.668 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.7705, allocations: 1.085 MB / 1.535 GB, free: 6.574 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.7705, allocations: 4 kB / 1.535 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.7706, allocations: 43.98 kB / 1.536 GB, free: 6.527 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/0.7707, allocations: 38 kB / 1.536 GB, free: 6.488 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.7725, allocations: 0.9954 MB / 1.537 GB, free: 5.496 MB / 1.232 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.007204/0.7797, allocations: 4.379 MB / 1.541 GB, free: 0.7852 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.7808, allocations: 0.5763 MB / 1.541 GB, free: 200 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.7814, allocations: 318.6 kB / 1.542 GB, free: 15.88 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.7816, allocations: 105.5 kB / 1.542 GB, free: 15.75 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.7816, allocations: 42.98 kB / 1.542 GB, free: 15.7 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.7817, allocations: 4 kB / 1.542 GB, free: 15.7 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.004771/0.7864, allocations: 2.214 MB / 1.544 GB, free: 13.37 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.7865, allocations: 63.89 kB / 1.544 GB, free: 13.3 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.7877, allocations: 0.8883 MB / 1.545 GB, free: 12.4 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/0.7878, allocations: 37.7 kB / 1.545 GB, free: 12.36 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.7883, allocations: 0.5195 MB / 1.545 GB, free: 11.83 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.7885, allocations: 210.2 kB / 1.546 GB, free: 11.62 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.7888, allocations: 134.6 kB / 1.546 GB, free: 11.48 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.7889, allocations: 334 kB / 1.546 GB, free: 11.15 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.7895, allocations: 285.8 kB / 1.546 GB, free: 10.88 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.7901, allocations: 436.9 kB / 1.547 GB, free: 10.4 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.004487/0.7946, allocations: 1.737 MB / 1.548 GB, free: 8.59 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.7946, allocations: 0 / 1.548 GB, free: 8.59 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001959/0.7966, allocations: 0.9304 MB / 1.549 GB, free: 7.645 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.7966, allocations: 4 kB / 1.549 GB, free: 7.641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7966, allocations: 7.938 kB / 1.549 GB, free: 7.633 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.7969, allocations: 98.45 kB / 1.549 GB, free: 7.527 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.7977, allocations: 168 kB / 1.55 GB, free: 7.363 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.8025, allocations: 4.632 MB / 1.554 GB, free: 2.312 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.8036, allocations: 27.98 kB / 1.554 GB, free: 2.285 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.8037, allocations: 24 kB / 1.554 GB, free: 2.262 MB / 1.248 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.0007996/0.8045, allocations: 345.5 kB / 1.555 GB, free: 1.914 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.8048, allocations: 107.3 kB / 1.555 GB, free: 1.809 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.8052, allocations: 105.2 kB / 1.555 GB, free: 1.699 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.8052, allocations: 16.05 kB / 1.555 GB, free: 1.684 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8052, allocations: 0 / 1.555 GB, free: 1.684 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/0.8066, allocations: 0.7652 MB / 1.556 GB, free: 0.8633 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004218/0.8108, allocations: 1.992 MB / 1.557 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.8109, allocations: 4 kB / 1.557 GB, free: 14.76 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/0.8115, allocations: 139.8 kB / 1.558 GB, free: 14.62 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.8117, allocations: 44.81 kB / 1.558 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.8117, allocations: 12 kB / 1.558 GB, free: 14.57 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.8133, allocations: 1.614 MB / 1.559 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8133, allocations: 4 kB / 1.559 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.8156, allocations: 1.208 MB / 1.56 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.8163, allocations: 268.4 kB / 1.561 GB, free: 11.26 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.8165, allocations: 12 kB / 1.561 GB, free: 11.25 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/0.8174, allocations: 37.89 kB / 1.561 GB, free: 11.21 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.8175, allocations: 47.83 kB / 1.561 GB, free: 11.17 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.8176, allocations: 27.98 kB / 1.561 GB, free: 11.14 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001061/0.8187, allocations: 0.62 MB / 1.561 GB, free: 10.53 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.8187, allocations: 0 / 1.561 GB, free: 10.53 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001384/0.8201, allocations: 307.9 kB / 1.562 GB, free: 10.23 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.0005105/0.8206, allocations: 175.2 kB / 1.562 GB, free: 10.05 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.8225, allocations: 0.9792 MB / 1.563 GB, free: 9.031 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.8225, allocations: 5 kB / 1.563 GB, free: 9.027 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.8232, allocations: 442.3 kB / 1.563 GB, free: 8.582 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.8264, allocations: 0.6529 MB / 1.564 GB, free: 7.945 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.8308, allocations: 2.139 MB / 1.566 GB, free: 5.734 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.832, allocations: 1.166 MB / 1.567 GB, free: 4.539 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001/0.833, allocations: 252.4 kB / 1.567 GB, free: 4.289 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.8333, allocations: 79.42 kB / 1.567 GB, free: 4.211 MB / 1.264 GB Notification: Performance of SimCode: time 1.142e-06/0.8333, allocations: 0 / 1.567 GB, free: 4.211 MB / 1.264 GB Notification: Performance of Templates: time 0.0445/0.8778, allocations: 22.71 MB / 1.59 GB, free: 13.81 MB / 1.295 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.993748595006764]