Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.0009599/0.0009599, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009594/0.0009594, allocations: 177 kB / 23.36 MB, free: 1.125 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.9525/0.9525, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.418/2.418, allocations: 438.8 MB / 0.6826 GB, free: 13.54 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.494e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1421/0.1421, allocations: 150.3 MB / 0.9854 GB, free: 7.266 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004731/0.1469, allocations: 3.922 MB / 0.9892 GB, free: 3.332 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.1473, allocations: 51.56 kB / 0.9893 GB, free: 3.281 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.1479, allocations: 285.9 kB / 0.9895 GB, free: 3 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.1493, allocations: 1.06 MB / 0.9906 GB, free: 1.934 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1506, allocations: 0.9935 MB / 0.9915 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.1525, allocations: 2.561 MB / 0.994 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000911/0.1534, allocations: 0.7794 MB / 0.9948 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.1555, allocations: 1.405 MB / 0.9962 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.1567, allocations: 0.7556 MB / 0.9969 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.1569, allocations: 108 kB / 0.997 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.1579, allocations: 0.647 MB / 0.9976 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.1583, allocations: 0.5377 MB / 0.9982 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.1587, allocations: 467 kB / 0.9986 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.16, allocations: 1.394 MB / 1 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.16, allocations: 0 / 1 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.202e-06/0.16, allocations: 0 / 1 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.16, allocations: 4 kB / 1 GB, free: 8.281 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001403/0.1614, allocations: 1.358 MB / 1.001 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1615, allocations: 8.625 kB / 1.001 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.1627, allocations: 483.9 kB / 1.002 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/0.1635, allocations: 0.6331 MB / 1.002 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.1636, allocations: 70.12 kB / 1.002 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1637, allocations: 88 kB / 1.003 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009078/0.1646, allocations: 1.082 MB / 1.004 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1646, allocations: 0 / 1.004 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.1647, allocations: 36 kB / 1.004 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.1647, allocations: 34 kB / 1.004 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.1651, allocations: 300.6 kB / 1.004 GB, free: 4.031 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.002872/0.168, allocations: 2.358 MB / 1.006 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.1686, allocations: 326.7 kB / 1.007 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1687, allocations: 95.64 kB / 1.007 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.559e-05/0.1688, allocations: 27.98 kB / 1.007 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1688, allocations: 46.5 kB / 1.007 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1688, allocations: 0 / 1.007 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45): time 0.001228/0.17, allocations: 0.7225 MB / 1.007 GB, free: 344 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1701, allocations: 59.34 kB / 1.007 GB, free: 272 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.1704, allocations: 0.5545 MB / 1.008 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.1704, allocations: 33.7 kB / 1.008 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1706, allocations: 421.1 kB / 1.008 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.1707, allocations: 174.5 kB / 1.009 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1708, allocations: 114.2 kB / 1.009 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1709, allocations: 390.6 kB / 1.009 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1711, allocations: 68.11 kB / 1.009 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1713, allocations: 253 kB / 1.009 GB, free: 14.19 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.0007112/0.172, allocations: 498.3 kB / 1.01 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.172, allocations: 8 kB / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004061/0.1724, allocations: 334.5 kB / 1.01 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1724, allocations: 14.28 kB / 1.01 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1724, allocations: 4 kB / 1.01 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1724, allocations: 11.94 kB / 1.01 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.1728, allocations: 155.8 kB / 1.01 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1728, allocations: 11.94 kB / 1.01 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.1731, allocations: 43.97 kB / 1.01 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.1732, allocations: 16 kB / 1.01 GB, free: 13.05 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0001722/0.1733, allocations: 155.8 kB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.1734, allocations: 63.94 kB / 1.011 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.364e-05/0.1735, allocations: 87.11 kB / 1.011 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1735, allocations: 7.938 kB / 1.011 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1735, allocations: 3.984 kB / 1.011 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003141/0.1738, allocations: 0.4955 MB / 1.011 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.1751, allocations: 1.057 MB / 1.012 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1751, allocations: 4 kB / 1.012 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.1755, allocations: 136.2 kB / 1.012 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1755, allocations: 4 kB / 1.012 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.1755, allocations: 11.98 kB / 1.012 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.1755, allocations: 8 kB / 1.012 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1755, allocations: 7.938 kB / 1.012 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.1761, allocations: 0.5798 MB / 1.013 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.1762, allocations: 107.5 kB / 1.013 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.1763, allocations: 12 kB / 1.013 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.1766, allocations: 47.92 kB / 1.013 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.1767, allocations: 47.86 kB / 1.013 GB, free: 9.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.1767, allocations: 23.97 kB / 1.013 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001789/0.1769, allocations: 256.6 kB / 1.013 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 1.013 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004653/0.1773, allocations: 275.8 kB / 1.014 GB, free: 9.441 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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 Backend phase and start with SimCode phase: time 0.0002267/0.1776, allocations: 152.2 kB / 1.014 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.1779, allocations: 264.5 kB / 1.014 GB, free: 9.023 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.1779, allocations: 9 kB / 1.014 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1781, allocations: 132.9 kB / 1.014 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.1791, allocations: 488.4 kB / 1.015 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.1813, allocations: 1.712 MB / 1.016 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.1814, allocations: 239 kB / 1.017 GB, free: 6.367 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005849/0.182, allocations: 142.3 kB / 1.017 GB, free: 6.227 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007277/0.1827, allocations: 380.9 kB / 1.017 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of SimCode: time 5.71e-07/0.1827, allocations: 0 / 1.017 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of Templates: time 0.02051/0.2032, allocations: 19.46 MB / 1.036 GB, free: 2.867 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.876145431771874]