Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001801/0.001801, allocations: 84.73 kB / 19.44 MB, free: 348 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.002224/0.002224, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.213/3.213, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.186e-05/4.395e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2587/0.2588, allocations: 168.2 MB / 1.042 GB, free: 13.72 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.2705, allocations: 5.406 MB / 1.047 GB, free: 8.301 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.2723, allocations: 55.56 kB / 1.047 GB, free: 8.246 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.2743, allocations: 0.5434 MB / 1.048 GB, free: 7.699 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.2795, allocations: 1.725 MB / 1.049 GB, free: 5.965 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.283, allocations: 1.253 MB / 1.051 GB, free: 4.711 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004055/0.2871, allocations: 2.57 MB / 1.053 GB, free: 2.133 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.2884, allocations: 0.728 MB / 1.054 GB, free: 1.383 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5378/0.8262, allocations: 1.542 MB / 1.055 GB, free: 48.28 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.8283, allocations: 0.7834 MB / 1.056 GB, free: 48.28 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.8285, allocations: 100.3 kB / 1.056 GB, free: 48.28 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.8307, allocations: 1.267 MB / 1.057 GB, free: 48.28 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.8312, allocations: 0.5205 MB / 1.058 GB, free: 48.28 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006127/0.8318, allocations: 452.3 kB / 1.058 GB, free: 48.28 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.8343, allocations: 2.146 MB / 1.06 GB, free: 48.27 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.8343, allocations: 2.719 kB / 1.06 GB, free: 48.27 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8343, allocations: 3 kB / 1.06 GB, free: 48.27 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.8343, allocations: 1.203 kB / 1.06 GB, free: 48.27 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001893/0.8362, allocations: 1.418 MB / 1.062 GB, free: 47.55 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.8362, allocations: 14.7 kB / 1.062 GB, free: 47.55 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.8382, allocations: 434.3 kB / 1.062 GB, free: 47.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.8393, allocations: 0.7824 MB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.8394, allocations: 68 kB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.8395, allocations: 93.98 kB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.8412, allocations: 1.473 MB / 1.065 GB, free: 46.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.8412, allocations: 0.7188 kB / 1.065 GB, free: 46.55 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.8413, allocations: 42.84 kB / 1.065 GB, free: 46.55 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.8413, allocations: 31.06 kB / 1.065 GB, free: 46.55 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.8426, allocations: 0.8305 MB / 1.066 GB, free: 46.55 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.00414/0.8468, allocations: 3.111 MB / 1.069 GB, free: 45.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.8473, allocations: 350.3 kB / 1.069 GB, free: 45.28 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.8475, allocations: 199.4 kB / 1.069 GB, free: 45.27 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.8477, allocations: 24.56 kB / 1.069 GB, free: 45.27 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.8477, allocations: 41.12 kB / 1.069 GB, free: 45.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.8477, allocations: 1.203 kB / 1.069 GB, free: 45.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.002196/0.8499, allocations: 1.261 MB / 1.07 GB, free: 44.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.8499, allocations: 58.19 kB / 1.07 GB, free: 44.81 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/0.8507, allocations: 0.7284 MB / 1.071 GB, free: 44.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.8508, allocations: 38.2 kB / 1.071 GB, free: 44.63 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.851, allocations: 0.5139 MB / 1.072 GB, free: 44.36 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/0.8511, allocations: 148.5 kB / 1.072 GB, free: 44.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.8513, allocations: 125.7 kB / 1.072 GB, free: 44.24 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.8514, allocations: 378.4 kB / 1.072 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.8518, allocations: 237.9 kB / 1.073 GB, free: 43.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.8522, allocations: 471.8 kB / 1.073 GB, free: 43.67 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.00218/0.8544, allocations: 1.153 MB / 1.074 GB, free: 43.45 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8544, allocations: 3.531 kB / 1.074 GB, free: 43.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001251/0.8557, allocations: 0.7828 MB / 1.075 GB, free: 43.37 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8557, allocations: 5.781 kB / 1.075 GB, free: 43.37 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.8557, allocations: 6.625 kB / 1.075 GB, free: 43.37 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.8557, allocations: 8.688 kB / 1.075 GB, free: 43.37 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.8563, allocations: 142.8 kB / 1.075 GB, free: 43.37 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.8563, allocations: 15.41 kB / 1.075 GB, free: 43.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.8571, allocations: 57.77 kB / 1.075 GB, free: 43.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.8571, allocations: 27.59 kB / 1.075 GB, free: 43.37 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003913/0.8575, allocations: 316 kB / 1.075 GB, free: 43.25 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.8577, allocations: 89 kB / 1.076 GB, free: 43.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.8578, allocations: 80.97 kB / 1.076 GB, free: 43.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.8578, allocations: 6.938 kB / 1.076 GB, free: 43.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8578, allocations: 0 / 1.076 GB, free: 43.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005466/0.8584, allocations: 0.6764 MB / 1.076 GB, free: 42.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.8604, allocations: 1.354 MB / 1.078 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8604, allocations: 2.969 kB / 1.078 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.8608, allocations: 89.11 kB / 1.078 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.8608, allocations: 6.031 kB / 1.078 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.8608, allocations: 13.59 kB / 1.078 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.8608, allocations: 9.422 kB / 1.078 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8608, allocations: 8.375 kB / 1.078 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.8617, allocations: 0.813 MB / 1.079 GB, free: 42.07 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.8621, allocations: 135 kB / 1.079 GB, free: 42.03 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.8622, allocations: 16.97 kB / 1.079 GB, free: 42.03 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.8628, allocations: 40.27 kB / 1.079 GB, free: 42.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.8629, allocations: 41.41 kB / 1.079 GB, free: 42.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.863, allocations: 26.3 kB / 1.079 GB, free: 42.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006757/0.8636, allocations: 0.4985 MB / 1.079 GB, free: 41.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.8636, allocations: 0 / 1.079 GB, free: 41.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009519/0.8646, allocations: 259.2 kB / 1.079 GB, free: 41.93 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003885/0.865, allocations: 187.9 kB / 1.08 GB, free: 41.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000906/0.8659, allocations: 492.7 kB / 1.08 GB, free: 41.83 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.8659, allocations: 1 kB / 1.08 GB, free: 41.83 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.8662, allocations: 187.2 kB / 1.08 GB, free: 41.83 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.8683, allocations: 455.7 kB / 1.081 GB, free: 41.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.8711, allocations: 1.74 MB / 1.082 GB, free: 41.01 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.8718, allocations: 0.5044 MB / 1.083 GB, free: 40.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008394/0.8726, allocations: 204.6 kB / 1.083 GB, free: 40.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.8728, allocations: 60.34 kB / 1.083 GB, free: 40.88 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/0.8728, allocations: 0 / 1.083 GB, free: 40.88 MB / 1.01 GB Notification: Performance of Templates: time 0.03386/0.9067, allocations: 15.63 MB / 1.098 GB, free: 39.36 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.54013144003693]