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.001702/0.001702, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002107/0.002107, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 8.016 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.124/3.124, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.001984/0.001984, allocations: 73.8 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2462/0.5954, allocations: 194.5 MB / 1.516 GB, free: 14.21 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.606, allocations: 5.768 MB / 1.522 GB, free: 8.43 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.6075, allocations: 59.5 kB / 1.522 GB, free: 8.371 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.6094, allocations: 0.5942 MB / 1.523 GB, free: 7.773 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005455/0.6149, allocations: 1.948 MB / 1.524 GB, free: 5.82 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.6184, allocations: 1.23 MB / 1.526 GB, free: 4.594 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.6228, allocations: 3.033 MB / 1.529 GB, free: 1.555 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.6244, allocations: 0.8243 MB / 1.529 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.6275, allocations: 1.312 MB / 1.531 GB, free: 15.39 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.6298, allocations: 1.021 MB / 1.532 GB, free: 14.38 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.6301, allocations: 127.9 kB / 1.532 GB, free: 14.25 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.6334, allocations: 1.547 MB / 1.533 GB, free: 12.7 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006852/0.6341, allocations: 0.5843 MB / 1.534 GB, free: 12.11 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009808/0.6351, allocations: 0.7234 MB / 1.535 GB, free: 11.39 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.6389, allocations: 2.344 MB / 1.537 GB, free: 9.035 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6389, allocations: 0 / 1.537 GB, free: 9.035 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6389, allocations: 0 / 1.537 GB, free: 9.035 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.387e-05/0.639, allocations: 0 / 1.537 GB, free: 9.035 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.002972/0.6419, allocations: 1.586 MB / 1.538 GB, free: 7.41 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.642, allocations: 12.03 kB / 1.538 GB, free: 7.398 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.644, allocations: 334.9 kB / 1.539 GB, free: 7.07 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.6457, allocations: 0.846 MB / 1.54 GB, free: 6.195 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.6457, allocations: 77.98 kB / 1.54 GB, free: 6.121 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.6459, allocations: 96 kB / 1.54 GB, free: 6.027 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.6478, allocations: 1.081 MB / 1.541 GB, free: 4.938 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.6479, allocations: 0 / 1.541 GB, free: 4.938 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.648, allocations: 44 kB / 1.541 GB, free: 4.895 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.648, allocations: 38 kB / 1.541 GB, free: 4.855 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.6498, allocations: 0.9954 MB / 1.542 GB, free: 3.863 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.00741/0.6572, allocations: 4.329 MB / 1.546 GB, free: 15.2 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.6582, allocations: 0.5697 MB / 1.547 GB, free: 14.62 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.6588, allocations: 318.5 kB / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.6589, allocations: 24.42 kB / 1.547 GB, free: 14.28 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.659, allocations: 46.94 kB / 1.547 GB, free: 14.23 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 3.547e-06/0.659, allocations: 0 / 1.547 GB, free: 14.23 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.004408/0.6634, allocations: 1.912 MB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.6635, allocations: 67.78 kB / 1.549 GB, free: 12.2 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.6647, allocations: 0.8804 MB / 1.55 GB, free: 11.31 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.6648, allocations: 41.69 kB / 1.55 GB, free: 11.26 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.6653, allocations: 0.5274 MB / 1.55 GB, free: 10.73 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.6655, allocations: 202.3 kB / 1.551 GB, free: 10.53 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.6658, allocations: 138.6 kB / 1.551 GB, free: 10.39 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6659, allocations: 334 kB / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.6665, allocations: 281.8 kB / 1.551 GB, free: 9.777 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.6672, allocations: 434.9 kB / 1.552 GB, free: 9.305 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.004171/0.6714, allocations: 1.669 MB / 1.553 GB, free: 7.582 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.6714, allocations: 8 kB / 1.553 GB, free: 7.574 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001779/0.6731, allocations: 0.925 MB / 1.554 GB, free: 6.633 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6732, allocations: 12 kB / 1.554 GB, free: 6.621 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6732, allocations: 4 kB / 1.554 GB, free: 6.617 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.6734, allocations: 106.4 kB / 1.554 GB, free: 6.504 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.6742, allocations: 159.8 kB / 1.555 GB, free: 6.348 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.6786, allocations: 4.319 MB / 1.559 GB, free: 1.688 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009561/0.6796, allocations: 31.92 kB / 1.559 GB, free: 1.656 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.6796, allocations: 24 kB / 1.559 GB, free: 1.633 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.0006586/0.6803, allocations: 353.6 kB / 1.559 GB, free: 1.277 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.6805, allocations: 107.3 kB / 1.559 GB, free: 1.172 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.6808, allocations: 113.2 kB / 1.559 GB, free: 1.059 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6808, allocations: 4 kB / 1.559 GB, free: 1.055 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6808, allocations: 0 / 1.559 GB, free: 1.055 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.682, allocations: 0.7676 MB / 1.56 GB, free: 240 kB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.6858, allocations: 1.96 MB / 1.562 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6859, allocations: 4 kB / 1.562 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/0.6866, allocations: 148.2 kB / 1.562 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.6867, allocations: 44.77 kB / 1.562 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.6867, allocations: 16 kB / 1.562 GB, free: 13.97 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.6883, allocations: 1.51 MB / 1.564 GB, free: 12.34 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.6883, allocations: 7.938 kB / 1.564 GB, free: 12.33 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.6904, allocations: 1.203 MB / 1.565 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.691, allocations: 183.3 kB / 1.565 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.6912, allocations: 19.98 kB / 1.565 GB, free: 10.87 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.692, allocations: 28.53 kB / 1.565 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.6921, allocations: 59.8 kB / 1.565 GB, free: 10.79 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-05/0.6922, allocations: 27.98 kB / 1.565 GB, free: 10.76 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001015/0.6932, allocations: 0.6122 MB / 1.566 GB, free: 10.15 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6932, allocations: 0 / 1.566 GB, free: 10.15 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001126/0.6943, allocations: 308 kB / 1.566 GB, free: 9.852 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.000433/0.6948, allocations: 183.2 kB / 1.566 GB, free: 9.664 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.6966, allocations: 0.9831 MB / 1.567 GB, free: 8.645 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6966, allocations: 0 / 1.567 GB, free: 8.645 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.6973, allocations: 439.7 kB / 1.568 GB, free: 8.203 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.7002, allocations: 0.6588 MB / 1.568 GB, free: 7.562 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.7044, allocations: 2.13 MB / 1.57 GB, free: 5.363 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.7057, allocations: 1.167 MB / 1.571 GB, free: 4.164 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001059/0.7067, allocations: 260.4 kB / 1.572 GB, free: 3.906 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.707, allocations: 71.44 kB / 1.572 GB, free: 3.836 MB / 1.264 GB Notification: Performance of SimCode: time 9.42e-07/0.707, allocations: 0 / 1.572 GB, free: 3.836 MB / 1.264 GB Notification: Performance of Templates: time 0.04633/0.7533, allocations: 23.17 MB / 1.594 GB, free: 12.99 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.25196185335517]