Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001373/0.001373, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001529/0.001529, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.269/3.269, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.912e-05, allocations: 4.688 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2468/0.2468, allocations: 168.3 MB / 1.042 GB, free: 13.55 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.2585, allocations: 5.428 MB / 1.047 GB, free: 8.113 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.26, allocations: 51.56 kB / 1.047 GB, free: 8.062 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.2619, allocations: 0.5628 MB / 1.048 GB, free: 7.496 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.2674, allocations: 1.962 MB / 1.05 GB, free: 5.523 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.2709, allocations: 1.235 MB / 1.051 GB, free: 4.285 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0057/0.2766, allocations: 3.045 MB / 1.054 GB, free: 1.227 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/0.2789, allocations: 0.8324 MB / 1.055 GB, free: 384 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5001/0.7791, allocations: 1.66 MB / 1.056 GB, free: 48.04 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.7812, allocations: 0.9225 MB / 1.057 GB, free: 48.04 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.7815, allocations: 122.6 kB / 1.057 GB, free: 48.04 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.7847, allocations: 1.218 MB / 1.059 GB, free: 48.04 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0007402/0.7854, allocations: 0.6163 MB / 1.059 GB, free: 48.04 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008249/0.7863, allocations: 0.522 MB / 1.06 GB, free: 48.04 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.7901, allocations: 2.384 MB / 1.062 GB, free: 48 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7901, allocations: 0 / 1.062 GB, free: 48 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7901, allocations: 0 / 1.062 GB, free: 48 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.956e-05/0.7902, allocations: 0 / 1.062 GB, free: 48 MB / 1.01 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.002578/0.7928, allocations: 1.561 MB / 1.064 GB, free: 47.26 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7928, allocations: 12.05 kB / 1.064 GB, free: 47.26 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.7949, allocations: 455.6 kB / 1.064 GB, free: 47.15 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.7964, allocations: 0.8944 MB / 1.065 GB, free: 46.88 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.7965, allocations: 69.5 kB / 1.065 GB, free: 46.88 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.7966, allocations: 106.9 kB / 1.065 GB, free: 46.88 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.7984, allocations: 1.535 MB / 1.067 GB, free: 46.27 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.7985, allocations: 9.344 kB / 1.067 GB, free: 46.27 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.7986, allocations: 40.97 kB / 1.067 GB, free: 46.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/0.7986, allocations: 37.03 kB / 1.067 GB, free: 46.26 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.8001, allocations: 0.9911 MB / 1.068 GB, free: 46.25 MB / 1.01 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.005023/0.8051, allocations: 2.775 MB / 1.07 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/0.8059, allocations: 0.5597 MB / 1.071 GB, free: 45.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.8063, allocations: 322.8 kB / 1.071 GB, free: 45.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.8065, allocations: 25.97 kB / 1.071 GB, free: 45.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.8065, allocations: 46.31 kB / 1.071 GB, free: 45.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.8065, allocations: 0 / 1.071 GB, free: 45.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.003612/0.8101, allocations: 1.917 MB / 1.073 GB, free: 45.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.8102, allocations: 58.94 kB / 1.073 GB, free: 45.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.8109, allocations: 0.6914 MB / 1.074 GB, free: 45.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.8109, allocations: 39.14 kB / 1.074 GB, free: 45.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.8112, allocations: 0.5374 MB / 1.074 GB, free: 44.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.8113, allocations: 203.7 kB / 1.075 GB, free: 44.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.8115, allocations: 135 kB / 1.075 GB, free: 44.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.8116, allocations: 387.3 kB / 1.075 GB, free: 44.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.812, allocations: 287.4 kB / 1.075 GB, free: 44.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.8126, allocations: 490.2 kB / 1.076 GB, free: 44.12 MB / 1.01 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.003672/0.8162, allocations: 1.669 MB / 1.077 GB, free: 43.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8162, allocations: 2.438 kB / 1.077 GB, free: 43.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001406/0.8176, allocations: 0.9445 MB / 1.078 GB, free: 43.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8177, allocations: 7.875 kB / 1.078 GB, free: 43.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8177, allocations: 2.625 kB / 1.078 GB, free: 43.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.8179, allocations: 98.86 kB / 1.079 GB, free: 43.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.8186, allocations: 159.9 kB / 1.079 GB, free: 43.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.8212, allocations: 4.26 MB / 1.083 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.822, allocations: 33.59 kB / 1.083 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.8221, allocations: 22.72 kB / 1.083 GB, free: 40.29 MB / 1.01 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.0005226/0.8226, allocations: 349.2 kB / 1.083 GB, free: 40.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.8228, allocations: 104 kB / 1.083 GB, free: 40.13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.823, allocations: 103.5 kB / 1.083 GB, free: 40.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.823, allocations: 5.75 kB / 1.083 GB, free: 40.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.823, allocations: 0 / 1.083 GB, free: 40.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009833/0.824, allocations: 0.7666 MB / 1.084 GB, free: 39.85 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.8268, allocations: 1.704 MB / 1.086 GB, free: 39.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.8268, allocations: 3.859 kB / 1.086 GB, free: 39.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.8274, allocations: 146.5 kB / 1.086 GB, free: 39.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.791e-05/0.8275, allocations: 40.75 kB / 1.086 GB, free: 39.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.8276, allocations: 19.58 kB / 1.086 GB, free: 39.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.8285, allocations: 1.479 MB / 1.087 GB, free: 38.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.8285, allocations: 8.344 kB / 1.087 GB, free: 38.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.8303, allocations: 1.205 MB / 1.089 GB, free: 37.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.8307, allocations: 167.6 kB / 1.089 GB, free: 37.94 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.8309, allocations: 13.47 kB / 1.089 GB, free: 37.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/0.8316, allocations: 32.33 kB / 1.089 GB, free: 37.94 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.8318, allocations: 50.77 kB / 1.089 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/0.8318, allocations: 34.23 kB / 1.089 GB, free: 37.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006109/0.8324, allocations: 479.6 kB / 1.089 GB, free: 37.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8324, allocations: 0 / 1.089 GB, free: 37.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001077/0.8335, allocations: 307 kB / 1.09 GB, free: 37.84 MB / 1.01 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.000353/0.8339, allocations: 180.7 kB / 1.09 GB, free: 37.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.8354, allocations: 0.99 MB / 1.091 GB, free: 37.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.8354, allocations: 3.906 kB / 1.091 GB, free: 37.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.836, allocations: 430.3 kB / 1.091 GB, free: 37.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.8384, allocations: 0.5296 MB / 1.092 GB, free: 37.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.8417, allocations: 2.032 MB / 1.094 GB, free: 36.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.8424, allocations: 0.5789 MB / 1.094 GB, free: 36.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008578/0.8433, allocations: 223.1 kB / 1.095 GB, free: 36.26 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.8435, allocations: 69.08 kB / 1.095 GB, free: 36.25 MB / 1.01 GB Notification: Performance of SimCode: time 7.22e-07/0.8435, allocations: 0.8438 kB / 1.095 GB, free: 36.25 MB / 1.01 GB Notification: Performance of Templates: time 0.04177/0.8853, allocations: 19.72 MB / 1.114 GB, free: 34.36 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.782656156923622]