Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001032/0.001032, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001821/0.001821, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9795/0.9795, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.821/1.821, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.788e-05, allocations: 3.406 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1313/0.1313, allocations: 151 MB / 0.9591 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005294/0.1366, allocations: 3.856 MB / 0.9628 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005516/0.1371, allocations: 55.56 kB / 0.9629 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.1378, allocations: 285.9 kB / 0.9632 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.1394, allocations: 1.072 MB / 0.9642 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1408, allocations: 0.9857 MB / 0.9652 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.1431, allocations: 2.583 MB / 0.9677 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008991/0.144, allocations: 0.7787 MB / 0.9684 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.1458, allocations: 1.424 MB / 0.9698 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.1466, allocations: 0.7907 MB / 0.9706 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1468, allocations: 108 kB / 0.9707 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.1476, allocations: 0.6548 MB / 0.9714 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.148, allocations: 0.5415 MB / 0.9719 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.1484, allocations: 467 kB / 0.9723 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.1497, allocations: 1.398 MB / 0.9737 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1497, allocations: 0 / 0.9737 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1497, allocations: 0 / 0.9737 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.1497, allocations: 0 / 0.9737 GB, free: 11.2 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001584/0.1513, allocations: 1.534 MB / 0.9752 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1513, allocations: 8.031 kB / 0.9752 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.1527, allocations: 499.3 kB / 0.9757 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.1536, allocations: 0.7618 MB / 0.9764 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.1536, allocations: 70.12 kB / 0.9765 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.1537, allocations: 92 kB / 0.9766 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1549, allocations: 1.144 MB / 0.9777 GB, free: 6.91 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1549, allocations: 0 / 0.9777 GB, free: 6.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.1549, allocations: 40 kB / 0.9777 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.155, allocations: 30 kB / 0.9778 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.1556, allocations: 391.6 kB / 0.9781 GB, free: 6.457 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.003393/0.159, allocations: 2.98 MB / 0.981 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.1596, allocations: 315.1 kB / 0.9813 GB, free: 3.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.1597, allocations: 131.5 kB / 0.9815 GB, free: 2.938 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1599, allocations: 31.92 kB / 0.9815 GB, free: 2.906 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1599, allocations: 42.11 kB / 0.9815 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.1599, allocations: 0 / 0.9815 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.001705/0.1616, allocations: 1.019 MB / 0.9825 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1616, allocations: 59.34 kB / 0.9826 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.1622, allocations: 0.6478 MB / 0.9832 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.1622, allocations: 37.7 kB / 0.9833 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.1625, allocations: 0.5572 MB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1626, allocations: 166.6 kB / 0.984 GB, free: 304 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1628, allocations: 131.9 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1629, allocations: 0.5586 MB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.1631, allocations: 101.2 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.1634, allocations: 333.1 kB / 0.985 GB, free: 15.08 MB / 0.948 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.0008597/0.1643, allocations: 0.618 MB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1643, allocations: 0 / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006357/0.1649, allocations: 0.489 MB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1649, allocations: 8.5 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1649, allocations: 8 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.165, allocations: 11.94 kB / 0.9862 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.1654, allocations: 159.8 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1654, allocations: 7.938 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.1658, allocations: 43.97 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.1658, allocations: 31.98 kB / 0.9864 GB, free: 13.63 MB / 0.948 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.0002/0.166, allocations: 194.8 kB / 0.9866 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1661, allocations: 99.47 kB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.1662, allocations: 87.14 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1662, allocations: 11.94 kB / 0.9868 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1662, allocations: 0 / 0.9868 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004793/0.1667, allocations: 0.5816 MB / 0.9873 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.1685, allocations: 1.384 MB / 0.9887 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1685, allocations: 4 kB / 0.9887 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.1688, allocations: 144.2 kB / 0.9888 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1688, allocations: 4 kB / 0.9888 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.1689, allocations: 16 kB / 0.9888 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1689, allocations: 4 kB / 0.9888 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1689, allocations: 7.938 kB / 0.9889 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.1697, allocations: 0.7256 MB / 0.9896 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.1699, allocations: 155.3 kB / 0.9897 GB, free: 9.949 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.1699, allocations: 16 kB / 0.9897 GB, free: 9.934 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.1703, allocations: 44.61 kB / 0.9898 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.1703, allocations: 43.86 kB / 0.9898 GB, free: 9.848 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1704, allocations: 31.98 kB / 0.9898 GB, free: 9.816 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002942/0.1707, allocations: 411 kB / 0.9902 GB, free: 9.422 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1707, allocations: 0 / 0.9902 GB, free: 9.422 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005036/0.1712, allocations: 267.9 kB / 0.9905 GB, free: 9.16 MB / 0.948 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.0002542/0.1714, allocations: 171 kB / 0.9906 GB, free: 8.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000508/0.1719, allocations: 327.3 kB / 0.991 GB, free: 8.656 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1719, allocations: 4 kB / 0.991 GB, free: 8.652 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1721, allocations: 161.2 kB / 0.9911 GB, free: 8.492 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1732, allocations: 475.7 kB / 0.9916 GB, free: 8.035 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1757, allocations: 1.805 MB / 0.9933 GB, free: 6.133 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1758, allocations: 243.1 kB / 0.9936 GB, free: 5.875 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004303/0.1762, allocations: 198.3 kB / 0.9938 GB, free: 5.676 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.1764, allocations: 68.48 kB / 0.9938 GB, free: 5.609 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.1764, allocations: 0 / 0.9938 GB, free: 5.609 MB / 0.948 GB Notification: Performance of Templates: time 0.02069/0.1971, allocations: 19.3 MB / 1.013 GB, free: 2.785 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.759869616944343]