Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001134/0.001134, allocations: 89.06 kB / 19.65 MB, free: 276 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.001046/0.001046, allocations: 177 kB / 23.02 MB, free: 1.543 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.9574/0.9574, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.072/2.072, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.439e-05, allocations: 3.125 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.142/0.1421, allocations: 149.5 MB / 1.024 GB, free: 264 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004992/0.147, allocations: 3.163 MB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007556/0.1478, allocations: 39.69 kB / 1.027 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009749/0.1488, allocations: 234.3 kB / 1.028 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.1504, allocations: 0.738 MB / 1.028 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1518, allocations: 0.7052 MB / 1.029 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.1534, allocations: 1.469 MB / 1.03 GB, free: 9.895 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007405/0.1542, allocations: 488.8 kB / 1.031 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.1557, allocations: 0.8763 MB / 1.032 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.1562, allocations: 438.6 kB / 1.032 GB, free: 8.137 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.1563, allocations: 52 kB / 1.032 GB, free: 8.086 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007806/0.1571, allocations: 0.5105 MB / 1.033 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.1573, allocations: 307.1 kB / 1.033 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1576, allocations: 255.4 kB / 1.033 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.1587, allocations: 0.8565 MB / 1.034 GB, free: 6.164 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1587, allocations: 4 kB / 1.034 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1587, allocations: 0 / 1.034 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.1587, allocations: 0 / 1.034 GB, free: 6.16 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001133/0.1599, allocations: 1.082 MB / 1.035 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1599, allocations: 12.03 kB / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.1605, allocations: 212.3 kB / 1.035 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.1612, allocations: 0.5063 MB / 1.036 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.1612, allocations: 57.42 kB / 1.036 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.1613, allocations: 52 kB / 1.036 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.162, allocations: 0.7156 MB / 1.037 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.162, allocations: 7.938 kB / 1.037 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.1621, allocations: 24 kB / 1.037 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.1621, allocations: 21 kB / 1.037 GB, free: 3.254 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.1624, allocations: 233.3 kB / 1.037 GB, free: 3.023 MB / 0.9948 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.003029/0.1655, allocations: 5.33 MB / 1.042 GB, free: 13.49 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1656, allocations: 116.3 kB / 1.042 GB, free: 13.32 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.1656, allocations: 50.92 kB / 1.042 GB, free: 13.26 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.627e-05/0.1657, allocations: 27.98 kB / 1.042 GB, free: 13.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1657, allocations: 41.33 kB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1657, allocations: 0 / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=9): time 0.0003242/0.1661, allocations: 141.5 kB / 1.042 GB, free: 13.04 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.1661, allocations: 140.4 kB / 1.043 GB, free: 12.87 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.1666, allocations: 0.5688 MB / 1.043 GB, free: 12.28 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1666, allocations: 25.95 kB / 1.043 GB, free: 12.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.1668, allocations: 490.6 kB / 1.044 GB, free: 11.76 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1668, allocations: 43.69 kB / 1.044 GB, free: 11.72 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.1669, allocations: 91.62 kB / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1671, allocations: 0.5352 MB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.1671, allocations: 32.73 kB / 1.044 GB, free: 11.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1674, allocations: 0.502 MB / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.1677, allocations: 436.7 kB / 1.045 GB, free: 9.781 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1677, allocations: 0 / 1.045 GB, free: 9.781 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003837/0.1681, allocations: 348.7 kB / 1.046 GB, free: 9.434 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1681, allocations: 8 kB / 1.046 GB, free: 9.426 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1681, allocations: 8.844 kB / 1.046 GB, free: 9.418 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1681, allocations: 19.88 kB / 1.046 GB, free: 9.398 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.1683, allocations: 95.83 kB / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1683, allocations: 11.94 kB / 1.046 GB, free: 9.293 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1686, allocations: 71.59 kB / 1.046 GB, free: 9.223 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1686, allocations: 24 kB / 1.046 GB, free: 9.199 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (45): * Single equations (assignments): 45 * 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.0001231/0.1687, allocations: 192.4 kB / 1.046 GB, free: 9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.1688, allocations: 55.67 kB / 1.046 GB, free: 8.945 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.1688, allocations: 48.03 kB / 1.046 GB, free: 8.895 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1688, allocations: 7.938 kB / 1.046 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1688, allocations: 0 / 1.046 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1688, allocations: 4 kB / 1.046 GB, free: 8.883 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.1696, allocations: 1.163 MB / 1.047 GB, free: 7.637 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1696, allocations: 8.062 kB / 1.047 GB, free: 7.629 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.1697, allocations: 15.98 kB / 1.047 GB, free: 7.613 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1697, allocations: 7.938 kB / 1.047 GB, free: 7.605 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1697, allocations: 4 kB / 1.047 GB, free: 7.602 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1697, allocations: 4 kB / 1.047 GB, free: 7.598 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1697, allocations: 4.125 kB / 1.047 GB, free: 7.594 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.1699, allocations: 217.5 kB / 1.047 GB, free: 7.324 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.1699, allocations: 71.64 kB / 1.048 GB, free: 7.254 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.17, allocations: 4 kB / 1.048 GB, free: 7.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1701, allocations: 15.98 kB / 1.048 GB, free: 7.234 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.1701, allocations: 19.86 kB / 1.048 GB, free: 7.215 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1701, allocations: 4 kB / 1.048 GB, free: 7.211 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00026/0.1704, allocations: 354.8 kB / 1.048 GB, free: 6.867 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1704, allocations: 0 / 1.048 GB, free: 6.867 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006563/0.171, allocations: 183.5 kB / 1.048 GB, free: 6.688 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (9): * Single equations (assignments): 9 * 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.0003617/0.1714, allocations: 171.8 kB / 1.048 GB, free: 6.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1716, allocations: 160.9 kB / 1.048 GB, free: 6.359 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1716, allocations: 0 / 1.048 GB, free: 6.359 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.1717, allocations: 39.55 kB / 1.048 GB, free: 6.316 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.1722, allocations: 205.4 kB / 1.049 GB, free: 6.125 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1735, allocations: 0.9851 MB / 1.05 GB, free: 5.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.919e-05/0.1736, allocations: 165.2 kB / 1.05 GB, free: 4.887 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.1738, allocations: 96.66 kB / 1.05 GB, free: 4.793 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1739, allocations: 36.5 kB / 1.05 GB, free: 4.758 MB / 1.01 GB Notification: Performance of SimCode: time 7.01e-07/0.1739, allocations: 3.938 kB / 1.05 GB, free: 4.754 MB / 1.01 GB Notification: Performance of Templates: time 0.4117/0.5856, allocations: 7.949 MB / 1.058 GB, free: 76.91 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.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.104771804064512]