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.001031/0.001031, allocations: 92.22 kB / 19.65 MB, free: 280 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.001055/0.001055, allocations: 165 kB / 23.02 MB, free: 1.555 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 0.9693/0.9693, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 2.149/2.149, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",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.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.309e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1466/0.1466, allocations: 150.9 MB / 1.025 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005983/0.1526, allocations: 3.814 MB / 1.029 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007237/0.1533, allocations: 55.56 kB / 1.029 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007387/0.1541, allocations: 289.9 kB / 1.03 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.1559, allocations: 1.049 MB / 1.031 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1577, allocations: 0.9858 MB / 1.032 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.1601, allocations: 2.519 MB / 1.034 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.1615, allocations: 0.7397 MB / 1.035 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.1628, allocations: 1.184 MB / 1.036 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.164, allocations: 0.7945 MB / 1.037 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.1641, allocations: 104 kB / 1.037 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1653, allocations: 0.7131 MB / 1.037 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.1657, allocations: 0.5337 MB / 1.038 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.1661, allocations: 459 kB / 1.038 GB, free: 1.664 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1675, allocations: 1.371 MB / 1.04 GB, free: 296 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1675, allocations: 0 / 1.04 GB, free: 296 kB / 0.9948 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1675, allocations: 0 / 1.04 GB, free: 296 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.1675, allocations: 0 / 1.04 GB, free: 296 kB / 0.9948 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.001642/0.1692, allocations: 1.499 MB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1692, allocations: 8.031 kB / 1.041 GB, free: 14.74 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.1704, allocations: 427.4 kB / 1.042 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.1713, allocations: 0.7475 MB / 1.042 GB, free: 13.55 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.1713, allocations: 70.12 kB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.1715, allocations: 91.95 kB / 1.043 GB, free: 13.39 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.1727, allocations: 1.206 MB / 1.044 GB, free: 12.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.1727, allocations: 7.875 kB / 1.044 GB, free: 12.01 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.1728, allocations: 36 kB / 1.044 GB, free: 11.97 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.1728, allocations: 37.98 kB / 1.044 GB, free: 11.94 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.1734, allocations: 347.6 kB / 1.044 GB, free: 11.59 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.003239/0.1766, allocations: 3.363 MB / 1.047 GB, free: 8.133 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.177, allocations: 215.2 kB / 1.048 GB, free: 7.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1771, allocations: 94.77 kB / 1.048 GB, free: 7.816 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.1773, allocations: 27.98 kB / 1.048 GB, free: 7.789 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.1773, allocations: 41.39 kB / 1.048 GB, free: 7.738 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.1773, allocations: 4 kB / 1.048 GB, free: 7.734 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.0018/0.1791, allocations: 0.8563 MB / 1.049 GB, free: 6.844 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1791, allocations: 59.16 kB / 1.049 GB, free: 6.773 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006092/0.1798, allocations: 0.6867 MB / 1.049 GB, free: 6.074 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.1798, allocations: 33.7 kB / 1.049 GB, free: 6.035 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.1801, allocations: 0.5803 MB / 1.05 GB, free: 5.445 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.1802, allocations: 142.8 kB / 1.05 GB, free: 5.305 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.1804, allocations: 131.9 kB / 1.05 GB, free: 5.168 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.1806, allocations: 0.5586 MB / 1.051 GB, free: 4.598 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1807, allocations: 77.25 kB / 1.051 GB, free: 4.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.181, allocations: 385.9 kB / 1.051 GB, free: 4.027 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.0007248/0.1818, allocations: 0.5797 MB / 1.052 GB, free: 3.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1818, allocations: 8 kB / 1.052 GB, free: 3.332 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006045/0.1824, allocations: 483.9 kB / 1.052 GB, free: 2.852 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1824, allocations: 7.938 kB / 1.052 GB, free: 2.844 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1824, allocations: 12.7 kB / 1.052 GB, free: 2.832 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.1824, allocations: 8 kB / 1.052 GB, free: 2.824 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.1828, allocations: 139.8 kB / 1.052 GB, free: 2.688 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.1828, allocations: 11.94 kB / 1.052 GB, free: 2.676 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.1831, allocations: 39.97 kB / 1.052 GB, free: 2.637 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.1831, allocations: 28 kB / 1.052 GB, free: 2.609 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.0001906/0.1833, allocations: 200.3 kB / 1.053 GB, free: 2.402 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1834, allocations: 99.48 kB / 1.053 GB, free: 2.305 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.1835, allocations: 78.81 kB / 1.053 GB, free: 2.219 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1835, allocations: 4 kB / 1.053 GB, free: 2.215 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1835, allocations: 0 / 1.053 GB, free: 2.215 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003594/0.1839, allocations: 0.5112 MB / 1.053 GB, free: 1.617 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.1852, allocations: 1.211 MB / 1.054 GB, free: 304 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1852, allocations: 4 kB / 1.054 GB, free: 300 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.1854, allocations: 83.89 kB / 1.055 GB, free: 216 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1854, allocations: 4 kB / 1.055 GB, free: 212 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.1854, allocations: 16 kB / 1.055 GB, free: 196 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/0.1858, allocations: 8.438 kB / 1.055 GB, free: 188 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.1858, allocations: 15.94 kB / 1.055 GB, free: 172 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5211/0.7069, allocations: 0.6165 MB / 1.055 GB, free: 76.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.7072, allocations: 132.1 kB / 1.055 GB, free: 76.98 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.7073, allocations: 18.08 kB / 1.055 GB, free: 76.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.7077, allocations: 28.47 kB / 1.055 GB, free: 76.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.7077, allocations: 37.23 kB / 1.055 GB, free: 76.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.7078, allocations: 26.25 kB / 1.055 GB, free: 76.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003765/0.7081, allocations: 430.2 kB / 1.056 GB, free: 76.85 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7081, allocations: 0 / 1.056 GB, free: 76.85 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006692/0.7088, allocations: 251.2 kB / 1.056 GB, free: 76.85 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.0003132/0.7091, allocations: 166.9 kB / 1.056 GB, free: 76.76 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.7096, allocations: 280.3 kB / 1.057 GB, free: 76.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7096, allocations: 2.844 kB / 1.057 GB, free: 76.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.7098, allocations: 122.2 kB / 1.057 GB, free: 76.74 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.7109, allocations: 448.3 kB / 1.057 GB, free: 76.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.713, allocations: 1.63 MB / 1.059 GB, free: 75.88 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.7132, allocations: 240.2 kB / 1.059 GB, free: 75.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004461/0.7136, allocations: 186.7 kB / 1.059 GB, free: 75.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.7137, allocations: 62.31 kB / 1.059 GB, free: 75.79 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/0.7137, allocations: 1.203 kB / 1.059 GB, free: 75.79 MB / 1.01 GB Notification: Performance of Templates: time 0.01948/0.7332, allocations: 15.41 MB / 1.074 GB, free: 74.54 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.675690772943199]