Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001447/0.001447, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001175/0.001175, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.936/0.936, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.835/1.835, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0.7656 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.935e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1351/0.1351, allocations: 148 MB / 0.9573 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006636/0.1418, allocations: 3.8 MB / 0.9611 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.1428, allocations: 59.5 kB / 0.9611 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.1435, allocations: 285.9 kB / 0.9614 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.1457, allocations: 1.053 MB / 0.9624 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.1478, allocations: 0.9971 MB / 0.9634 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002931/0.1507, allocations: 2.533 MB / 0.9659 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.1519, allocations: 0.7473 MB / 0.9666 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.1547, allocations: 1.385 MB / 0.9679 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.1559, allocations: 0.7518 MB / 0.9687 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.1561, allocations: 96 kB / 0.9688 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.1573, allocations: 0.6314 MB / 0.9694 GB, free: 0.5664 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.1578, allocations: 0.5259 MB / 0.9699 GB, free: 40 kB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.1583, allocations: 447 kB / 0.9703 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.16, allocations: 1.332 MB / 0.9716 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.16, allocations: 0 / 0.9716 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.16, allocations: 0 / 0.9716 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.16, allocations: 0 / 0.9716 GB, free: 14.27 MB / 0.9323 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.001854/0.1619, allocations: 1.491 MB / 0.9731 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1619, allocations: 12.03 kB / 0.9731 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.1633, allocations: 411.4 kB / 0.9735 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.164, allocations: 0.7025 MB / 0.9742 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.1641, allocations: 74.12 kB / 0.9742 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.1642, allocations: 92 kB / 0.9743 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.165, allocations: 1.093 MB / 0.9754 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1651, allocations: 7.938 kB / 0.9754 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.1651, allocations: 35.98 kB / 0.9754 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.1652, allocations: 38 kB / 0.9755 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.1655, allocations: 289.6 kB / 0.9757 GB, free: 9.82 MB / 0.9323 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.002949/0.1685, allocations: 3.358 MB / 0.979 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.1688, allocations: 197.6 kB / 0.9792 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/0.1688, allocations: 83.62 kB / 0.9793 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/0.1689, allocations: 27.98 kB / 0.9793 GB, free: 6.039 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.169, allocations: 49.38 kB / 0.9794 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.169, allocations: 0 / 0.9794 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.001075/0.17, allocations: 0.6762 MB / 0.98 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.1701, allocations: 59.34 kB / 0.9801 GB, free: 5.199 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.1706, allocations: 0.6824 MB / 0.9808 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1706, allocations: 37.7 kB / 0.9808 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.1709, allocations: 0.5725 MB / 0.9813 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.1712, allocations: 150.7 kB / 0.9815 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.1713, allocations: 131.9 kB / 0.9816 GB, free: 3.59 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1715, allocations: 0.5624 MB / 0.9822 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.1716, allocations: 61.25 kB / 0.9822 GB, free: 2.953 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1718, allocations: 366 kB / 0.9826 GB, free: 2.48 MB / 0.9323 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.000513/0.1723, allocations: 0.5322 MB / 0.9831 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1723, allocations: 0 / 0.9831 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004825/0.1728, allocations: 440.7 kB / 0.9835 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1728, allocations: 16.09 kB / 0.9835 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1728, allocations: 8 kB / 0.9835 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1728, allocations: 8 kB / 0.9835 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1731, allocations: 135.8 kB / 0.9837 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1731, allocations: 11.94 kB / 0.9837 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.1735, allocations: 39.97 kB / 0.9837 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.1735, allocations: 24 kB / 0.9837 GB, free: 1.164 MB / 0.9323 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.0001731/0.1737, allocations: 200.4 kB / 0.9839 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.1738, allocations: 95.48 kB / 0.984 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.1739, allocations: 78.94 kB / 0.9841 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1739, allocations: 7.938 kB / 0.9841 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1739, allocations: 0 / 0.9841 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002775/0.1741, allocations: 0.4935 MB / 0.9846 GB, free: 204 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1752, allocations: 1.042 MB / 0.9856 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1752, allocations: 4 kB / 0.9856 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.1754, allocations: 84.34 kB / 0.9857 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1754, allocations: 12 kB / 0.9857 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1755, allocations: 12 kB / 0.9857 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.1755, allocations: 11.92 kB / 0.9857 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1755, allocations: 4 kB / 0.9857 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.1759, allocations: 0.6045 MB / 0.9863 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.1761, allocations: 123.5 kB / 0.9864 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.1762, allocations: 15.98 kB / 0.9865 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.1764, allocations: 35.92 kB / 0.9865 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1765, allocations: 31.89 kB / 0.9865 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.1765, allocations: 27.92 kB / 0.9865 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002523/0.1768, allocations: 398.8 kB / 0.9869 GB, free: 13.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1768, allocations: 0 / 0.9869 GB, free: 13.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005205/0.1773, allocations: 255.9 kB / 0.9872 GB, free: 13.37 MB / 0.948 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.0002256/0.1775, allocations: 168.4 kB / 0.9873 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1778, allocations: 260 kB / 0.9876 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1778, allocations: 0 / 0.9876 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.178, allocations: 119.7 kB / 0.9877 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.1793, allocations: 446.4 kB / 0.9881 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.1811, allocations: 1.623 MB / 0.9897 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.1812, allocations: 250.9 kB / 0.9899 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003681/0.1816, allocations: 134.4 kB / 0.9901 GB, free: 10.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.1823, allocations: 433.8 kB / 0.9905 GB, free: 9.836 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/0.1823, allocations: 0 / 0.9905 GB, free: 9.836 MB / 0.948 GB Notification: Performance of Templates: time 0.02003/0.2023, allocations: 17.05 MB / 1.007 GB, free: 9.238 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.572043477091938]