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.001522/0.001522, allocations: 93.06 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.001796/0.001796, allocations: 173 kB / 23.02 MB, free: 1.551 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.9581/0.9581, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.029/2.029, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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.813e-06/1.813e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.105e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1505/0.1505, allocations: 150.9 MB / 1.025 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005522/0.156, allocations: 3.821 MB / 1.029 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006922/0.1567, allocations: 51.56 kB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000698/0.1574, allocations: 285.9 kB / 1.03 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.1592, allocations: 1.057 MB / 1.031 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1608, allocations: 0.9974 MB / 1.032 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.1628, allocations: 2.507 MB / 1.034 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007006/0.1635, allocations: 0.7436 MB / 1.035 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.1651, allocations: 1.377 MB / 1.036 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/0.1658, allocations: 0.7556 MB / 1.037 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1659, allocations: 100 kB / 1.037 GB, free: 3.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008796/0.1668, allocations: 0.6313 MB / 1.038 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.1672, allocations: 0.5259 MB / 1.038 GB, free: 2.07 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004981/0.1677, allocations: 447 kB / 1.038 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.1689, allocations: 1.328 MB / 1.04 GB, free: 308 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1689, allocations: 0 / 1.04 GB, free: 308 kB / 0.9948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1689, allocations: 0 / 1.04 GB, free: 308 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.1689, allocations: 3.984 kB / 1.04 GB, free: 304 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.001489/0.1704, allocations: 1.488 MB / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1704, allocations: 12.03 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000989/0.1714, allocations: 403.5 kB / 1.042 GB, free: 14.36 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.1722, allocations: 0.7298 MB / 1.042 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.1722, allocations: 70.12 kB / 1.042 GB, free: 13.54 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.1723, allocations: 92 kB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.1733, allocations: 1.148 MB / 1.044 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1733, allocations: 0 / 1.044 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/0.1734, allocations: 40 kB / 1.044 GB, free: 12.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.1734, allocations: 33.98 kB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.174, allocations: 351.6 kB / 1.044 GB, free: 11.73 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.002899/0.1769, allocations: 3.359 MB / 1.047 GB, free: 8.266 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.1772, allocations: 214.3 kB / 1.047 GB, free: 8.047 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1773, allocations: 91.64 kB / 1.048 GB, free: 7.953 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.1774, allocations: 27.98 kB / 1.048 GB, free: 7.926 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1774, allocations: 49.39 kB / 1.048 GB, free: 7.867 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.1774, allocations: 0 / 1.048 GB, free: 7.867 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.001304/0.1788, allocations: 0.864 MB / 1.048 GB, free: 6.969 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.1788, allocations: 59.16 kB / 1.049 GB, free: 6.898 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.1793, allocations: 0.6906 MB / 1.049 GB, free: 6.195 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1794, allocations: 37.69 kB / 1.049 GB, free: 6.152 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.1796, allocations: 0.5687 MB / 1.05 GB, free: 5.574 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.1797, allocations: 142.8 kB / 1.05 GB, free: 5.434 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1798, allocations: 135.9 kB / 1.05 GB, free: 5.293 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.18, allocations: 0.5586 MB / 1.051 GB, free: 4.723 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1801, allocations: 73.27 kB / 1.051 GB, free: 4.648 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1804, allocations: 385.9 kB / 1.051 GB, free: 4.156 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.0006486/0.181, allocations: 0.5875 MB / 1.052 GB, free: 3.461 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.181, allocations: 0 / 1.052 GB, free: 3.461 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005955/0.1816, allocations: 479.9 kB / 1.052 GB, free: 2.984 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1817, allocations: 12.66 kB / 1.052 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1817, allocations: 4 kB / 1.052 GB, free: 2.969 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1817, allocations: 12 kB / 1.052 GB, free: 2.957 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.182, allocations: 139.8 kB / 1.052 GB, free: 2.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.182, allocations: 11.98 kB / 1.052 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.1823, allocations: 35.98 kB / 1.052 GB, free: 2.773 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.1824, allocations: 31.98 kB / 1.052 GB, free: 2.742 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.0001656/0.1825, allocations: 200.3 kB / 1.053 GB, free: 2.535 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.1826, allocations: 95.53 kB / 1.053 GB, free: 2.441 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.1827, allocations: 78.8 kB / 1.053 GB, free: 2.359 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1827, allocations: 4 kB / 1.053 GB, free: 2.355 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1827, allocations: 8 kB / 1.053 GB, free: 2.348 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003306/0.183, allocations: 0.5034 MB / 1.053 GB, free: 1.758 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.1844, allocations: 1.22 MB / 1.054 GB, free: 440 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1844, allocations: 4 kB / 1.054 GB, free: 436 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.1847, allocations: 83.89 kB / 1.054 GB, free: 352 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1847, allocations: 4 kB / 1.054 GB, free: 348 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1847, allocations: 16.5 kB / 1.054 GB, free: 332 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.1847, allocations: 19.92 kB / 1.055 GB, free: 312 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.1847, allocations: 7.938 kB / 1.055 GB, free: 304 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4601/0.6448, allocations: 0.6108 MB / 1.055 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.645, allocations: 142.1 kB / 1.055 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.6451, allocations: 14.19 kB / 1.055 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.6455, allocations: 31.06 kB / 1.055 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.6455, allocations: 40.09 kB / 1.055 GB, free: 77.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.6455, allocations: 24.47 kB / 1.055 GB, free: 77.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003414/0.6459, allocations: 423.2 kB / 1.056 GB, free: 76.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6459, allocations: 6.75 kB / 1.056 GB, free: 76.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006017/0.6465, allocations: 253.5 kB / 1.056 GB, free: 76.88 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.0002716/0.6468, allocations: 159.5 kB / 1.056 GB, free: 76.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.6472, allocations: 282.5 kB / 1.056 GB, free: 76.78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6472, allocations: 5.984 kB / 1.056 GB, free: 76.78 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.6473, allocations: 118.9 kB / 1.057 GB, free: 76.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6484, allocations: 448.8 kB / 1.057 GB, free: 76.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.6502, allocations: 1.629 MB / 1.059 GB, free: 75.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.6503, allocations: 239.1 kB / 1.059 GB, free: 75.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003946/0.6507, allocations: 183.3 kB / 1.059 GB, free: 75.83 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6508, allocations: 60.31 kB / 1.059 GB, free: 75.82 MB / 1.01 GB Notification: Performance of SimCode: time 8.72e-07/0.6508, allocations: 2.797 kB / 1.059 GB, free: 75.82 MB / 1.01 GB Notification: Performance of Templates: time 0.01749/0.6683, allocations: 16.46 MB / 1.075 GB, free: 74.4 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.366418027319014]