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.002296/0.002296, allocations: 89.48 kB / 19.44 MB, free: 332 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.00201/0.00201, allocations: 169.2 kB / 22.76 MB, free: 1.656 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.621/1.621, 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.5/3.5, allocations: 429.4 MB / 0.6729 GB, free: 4.02 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.673e-06/1.673e-06, allocations: 0 / 0.8775 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.141e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8473/0.8473, allocations: 187.5 MB / 1.061 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008786/0.8561, allocations: 5.817 MB / 1.066 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.8576, allocations: 56.84 kB / 1.066 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.8592, allocations: 0.5516 MB / 1.067 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.8641, allocations: 1.968 MB / 1.069 GB, free: 47.44 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.8672, allocations: 1.231 MB / 1.07 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004021/0.8713, allocations: 3.05 MB / 1.073 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.8726, allocations: 0.8432 MB / 1.074 GB, free: 47.26 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.8756, allocations: 1.666 MB / 1.075 GB, free: 47.11 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.8777, allocations: 0.9336 MB / 1.076 GB, free: 47.03 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.8779, allocations: 126.4 kB / 1.076 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.8807, allocations: 1.215 MB / 1.078 GB, free: 46.9 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000631/0.8813, allocations: 0.6335 MB / 1.078 GB, free: 46.83 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000731/0.8821, allocations: 0.5214 MB / 1.079 GB, free: 46.78 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.8853, allocations: 2.404 MB / 1.081 GB, free: 46.58 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8853, allocations: 0 / 1.081 GB, free: 46.58 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8853, allocations: 0 / 1.081 GB, free: 46.58 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.8854, allocations: 1.031 kB / 1.081 GB, free: 46.58 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.002469/0.8878, allocations: 1.775 MB / 1.083 GB, free: 45.71 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8879, allocations: 9.75 kB / 1.083 GB, free: 45.71 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.8899, allocations: 444.6 kB / 1.083 GB, free: 45.61 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.8915, allocations: 0.8692 MB / 1.084 GB, free: 45.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.8916, allocations: 73.34 kB / 1.084 GB, free: 45.34 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.8918, allocations: 106 kB / 1.084 GB, free: 45.34 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.8935, allocations: 1.278 MB / 1.086 GB, free: 44.66 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.8936, allocations: 0 / 1.086 GB, free: 44.66 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.8937, allocations: 43.31 kB / 1.086 GB, free: 44.66 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.8937, allocations: 43.83 kB / 1.086 GB, free: 44.65 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.895, allocations: 0.6198 MB / 1.086 GB, free: 44.64 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.005574/0.9006, allocations: 3.093 MB / 1.089 GB, free: 44.05 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.9012, allocations: 432.8 kB / 1.09 GB, free: 44 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.9016, allocations: 226.5 kB / 1.09 GB, free: 43.99 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.9017, allocations: 29.84 kB / 1.09 GB, free: 43.99 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.9018, allocations: 47.77 kB / 1.09 GB, free: 43.95 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 2.064e-06/0.9018, allocations: 4.938 kB / 1.09 GB, free: 43.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.003949/0.9057, allocations: 1.478 MB / 1.091 GB, free: 43.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.9058, allocations: 58.88 kB / 1.091 GB, free: 43.43 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.9069, allocations: 0.8381 MB / 1.092 GB, free: 43.23 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.907, allocations: 41.08 kB / 1.092 GB, free: 43.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.9074, allocations: 0.6282 MB / 1.093 GB, free: 42.87 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.9077, allocations: 219.8 kB / 1.093 GB, free: 42.74 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.908, allocations: 160.3 kB / 1.093 GB, free: 42.71 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002918/0.9083, allocations: 0.6127 MB / 1.094 GB, free: 42.22 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.9087, allocations: 169.1 kB / 1.094 GB, free: 42.22 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.9093, allocations: 447.1 kB / 1.094 GB, free: 41.95 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.003569/0.9129, allocations: 1.275 MB / 1.096 GB, free: 41.72 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.9129, allocations: 1.125 kB / 1.096 GB, free: 41.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001409/0.9143, allocations: 0.7117 MB / 1.096 GB, free: 41.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.9143, allocations: 6.469 kB / 1.096 GB, free: 41.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.9144, allocations: 5.375 kB / 1.096 GB, free: 41.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.9146, allocations: 91.98 kB / 1.096 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.9152, allocations: 152.8 kB / 1.097 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.9181, allocations: 5.542 MB / 1.102 GB, free: 36.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/0.9191, allocations: 26 kB / 1.102 GB, free: 36.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.9191, allocations: 23.59 kB / 1.102 GB, free: 36.39 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.0005739/0.9197, allocations: 278.8 kB / 1.102 GB, free: 36.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.9199, allocations: 114.8 kB / 1.102 GB, free: 36.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.9201, allocations: 87.12 kB / 1.103 GB, free: 36.16 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9201, allocations: 6.062 kB / 1.103 GB, free: 36.16 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.9201, allocations: 4.234 kB / 1.103 GB, free: 36.16 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008793/0.921, allocations: 0.5802 MB / 1.103 GB, free: 35.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.9244, allocations: 1.769 MB / 1.105 GB, free: 35.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.9244, allocations: 6.078 kB / 1.105 GB, free: 35.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.925, allocations: 134.2 kB / 1.105 GB, free: 35.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.9251, allocations: 40.06 kB / 1.105 GB, free: 35.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.9252, allocations: 18.94 kB / 1.105 GB, free: 35.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.9263, allocations: 1.855 MB / 1.107 GB, free: 33.67 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.9263, allocations: 6.25 kB / 1.107 GB, free: 33.67 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.9281, allocations: 0.9915 MB / 1.108 GB, free: 33.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.9288, allocations: 156.9 kB / 1.108 GB, free: 33.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.929, allocations: 18.56 kB / 1.108 GB, free: 33.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/0.9299, allocations: 30.05 kB / 1.108 GB, free: 33.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.93, allocations: 51.3 kB / 1.108 GB, free: 33.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.9301, allocations: 30.56 kB / 1.108 GB, free: 33.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008908/0.931, allocations: 0.4994 MB / 1.109 GB, free: 33.06 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.931, allocations: 0 / 1.109 GB, free: 33.06 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00163/0.9327, allocations: 307 kB / 1.109 GB, free: 33.06 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.0004519/0.9331, allocations: 175.5 kB / 1.109 GB, free: 32.97 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.9349, allocations: 1.01 MB / 1.11 GB, free: 32.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.9349, allocations: 1.406 kB / 1.11 GB, free: 32.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.9356, allocations: 421.9 kB / 1.11 GB, free: 32.26 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.9388, allocations: 0.5284 MB / 1.111 GB, free: 32.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.9434, allocations: 1.925 MB / 1.113 GB, free: 31.28 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.9445, allocations: 0.5462 MB / 1.113 GB, free: 31.17 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001162/0.9457, allocations: 196.9 kB / 1.114 GB, free: 31.13 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.946, allocations: 71.05 kB / 1.114 GB, free: 31.12 MB / 1.01 GB Notification: Performance of SimCode: time 1.693e-06/0.946, allocations: 1.062 kB / 1.114 GB, free: 31.12 MB / 1.01 GB Notification: Performance of Templates: time 0.04383/0.9899, allocations: 19.98 MB / 1.133 GB, free: 29.11 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] 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: 10.451153491041623]