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.001385/0.001385, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001509/0.001509, allocations: 177 kB / 23.36 MB, free: 1.133 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.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.508 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.442/2.442, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.655e-06/2.655e-06, allocations: 4 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.415e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1556/0.1557, allocations: 150.2 MB / 0.9853 GB, free: 7.363 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005507/0.1612, allocations: 3.893 MB / 0.9891 GB, free: 3.465 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.1617, allocations: 55.56 kB / 0.9891 GB, free: 3.41 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.1623, allocations: 281.9 kB / 0.9894 GB, free: 3.133 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.1638, allocations: 1.064 MB / 0.9905 GB, free: 2.062 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1651, allocations: 0.9623 MB / 0.9914 GB, free: 1.098 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.1671, allocations: 2.512 MB / 0.9938 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009744/0.1681, allocations: 0.7889 MB / 0.9946 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.1695, allocations: 1.353 MB / 0.9959 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.1702, allocations: 0.7127 MB / 0.9966 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1703, allocations: 100 kB / 0.9967 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007842/0.1711, allocations: 0.6431 MB / 0.9974 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.1714, allocations: 0.5299 MB / 0.9979 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.1717, allocations: 447 kB / 0.9983 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.1729, allocations: 1.336 MB / 0.9996 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1729, allocations: 0 / 0.9996 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1729, allocations: 0 / 0.9996 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.1729, allocations: 0 / 0.9996 GB, free: 8.688 MB / 0.9636 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.001269/0.1742, allocations: 1.312 MB / 1.001 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1742, allocations: 8.625 kB / 1.001 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009954/0.1752, allocations: 388 kB / 1.001 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.1759, allocations: 0.6128 MB / 1.002 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.1759, allocations: 66.12 kB / 1.002 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.176, allocations: 95.98 kB / 1.002 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.1769, allocations: 1.093 MB / 1.003 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1769, allocations: 0 / 1.003 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.177, allocations: 36 kB / 1.003 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.177, allocations: 41.92 kB / 1.003 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.1773, allocations: 288.5 kB / 1.003 GB, free: 4.566 MB / 0.9636 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.002455/0.1798, allocations: 2.537 MB / 1.006 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.18, allocations: 216.8 kB / 1.006 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.1801, allocations: 81.12 kB / 1.006 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/0.1802, allocations: 23.84 kB / 1.006 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1802, allocations: 38.56 kB / 1.006 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.1802, allocations: 4 kB / 1.006 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38): time 0.0009944/0.1812, allocations: 0.6223 MB / 1.007 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1812, allocations: 55.41 kB / 1.007 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1816, allocations: 0.5778 MB / 1.007 GB, free: 272 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1817, allocations: 37.7 kB / 1.008 GB, free: 228 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1819, allocations: 441 kB / 1.008 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.1819, allocations: 150.7 kB / 1.008 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1821, allocations: 118.2 kB / 1.008 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1822, allocations: 386.6 kB / 1.009 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.1823, allocations: 56.11 kB / 1.009 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.1824, allocations: 291.2 kB / 1.009 GB, free: 14.7 MB / 0.9792 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.0004619/0.1829, allocations: 473.1 kB / 1.009 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1829, allocations: 0 / 1.009 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003769/0.1833, allocations: 354.1 kB / 1.01 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1833, allocations: 8.719 kB / 1.01 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1833, allocations: 11.92 kB / 1.01 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1833, allocations: 16 kB / 1.01 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.1836, allocations: 150.2 kB / 1.01 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1837, allocations: 8 kB / 1.01 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.184, allocations: 39.91 kB / 1.01 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.184, allocations: 20 kB / 1.01 GB, free: 13.55 MB / 0.9792 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.0001551/0.1841, allocations: 164.4 kB / 1.01 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.1842, allocations: 59.94 kB / 1.01 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.1843, allocations: 82.8 kB / 1.01 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1843, allocations: 4 kB / 1.01 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1843, allocations: 4 kB / 1.01 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000242/0.1845, allocations: 465.4 kB / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/0.1855, allocations: 0.9351 MB / 1.012 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1855, allocations: 4 kB / 1.012 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.1858, allocations: 111.1 kB / 1.012 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1858, allocations: 12 kB / 1.012 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1858, allocations: 12 kB / 1.012 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1858, allocations: 4 kB / 1.012 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1858, allocations: 4 kB / 1.012 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1863, allocations: 0.5387 MB / 1.012 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.1865, allocations: 111.4 kB / 1.012 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.1865, allocations: 11.98 kB / 1.012 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.1868, allocations: 32.92 kB / 1.012 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1868, allocations: 35.83 kB / 1.012 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.1869, allocations: 23.98 kB / 1.012 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002007/0.1871, allocations: 264.6 kB / 1.013 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1871, allocations: 0 / 1.013 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004556/0.1875, allocations: 251.9 kB / 1.013 GB, free: 10.18 MB / 0.9792 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.0002288/0.1878, allocations: 148.2 kB / 1.013 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.1881, allocations: 238.8 kB / 1.013 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/0.1881, allocations: 16.5 kB / 1.013 GB, free: 9.773 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1882, allocations: 105.7 kB / 1.013 GB, free: 9.672 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.1892, allocations: 476.1 kB / 1.014 GB, free: 9.219 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.1908, allocations: 1.541 MB / 1.015 GB, free: 7.586 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.191, allocations: 234.9 kB / 1.016 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003107/0.1913, allocations: 130.3 kB / 1.016 GB, free: 7.203 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.1919, allocations: 365 kB / 1.016 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of SimCode: time 9.22e-07/0.1919, allocations: 0 / 1.016 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of Templates: time 0.01855/0.2105, allocations: 16.8 MB / 1.033 GB, free: 6.453 MB / 0.9948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.963291195686907]