Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0009825/0.0009825, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001839/0.001839, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9964/0.9964, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.827/1.827, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.831e-05, allocations: 3.297 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1502/0.1503, allocations: 149.7 MB / 0.9577 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004762/0.155, allocations: 3.239 MB / 0.9609 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/0.1556, allocations: 47.62 kB / 0.9609 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.1563, allocations: 246.2 kB / 0.9612 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.1578, allocations: 0.8896 MB / 0.962 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1589, allocations: 0.6937 MB / 0.9627 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.1611, allocations: 2.025 MB / 0.9647 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.1619, allocations: 0.6374 MB / 0.9653 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.1637, allocations: 1.129 MB / 0.9664 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.1645, allocations: 0.592 MB / 0.967 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1646, allocations: 76 kB / 0.9671 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006559/0.1653, allocations: 387 kB / 0.9674 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.1655, allocations: 418.8 kB / 0.9678 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.1659, allocations: 359.2 kB / 0.9682 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.167, allocations: 0.9577 MB / 0.9691 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.167, allocations: 0 / 0.9691 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.323e-06/0.167, allocations: 0 / 0.9691 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.167, allocations: 0 / 0.9691 GB, free: 15.89 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001385/0.1684, allocations: 1.255 MB / 0.9703 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1685, allocations: 12.03 kB / 0.9703 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.1692, allocations: 287.9 kB / 0.9706 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.17, allocations: 0.6176 MB / 0.9712 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.17, allocations: 62.12 kB / 0.9713 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.127e-05/0.1701, allocations: 83.95 kB / 0.9714 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.171, allocations: 0.8773 MB / 0.9722 GB, free: 12.49 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.171, allocations: 3.938 kB / 0.9722 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.171, allocations: 28 kB / 0.9723 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.1711, allocations: 33.31 kB / 0.9723 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.1715, allocations: 299.3 kB / 0.9726 GB, free: 12.13 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.002931/0.1744, allocations: 4.634 MB / 0.9771 GB, free: 7.332 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.1749, allocations: 316 kB / 0.9774 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.175, allocations: 125.5 kB / 0.9775 GB, free: 6.855 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.1751, allocations: 28.31 kB / 0.9775 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1751, allocations: 45.66 kB / 0.9776 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=42): time 3.146e-06/0.1752, allocations: 4 kB / 0.9776 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.00191/0.1771, allocations: 1.114 MB / 0.9787 GB, free: 5.613 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1771, allocations: 110.8 kB / 0.9788 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.1775, allocations: 0.5453 MB / 0.9793 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1775, allocations: 37.7 kB / 0.9794 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.1778, allocations: 486.8 kB / 0.9798 GB, free: 4.395 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.334e-05/0.1779, allocations: 170.8 kB / 0.98 GB, free: 4.227 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.178, allocations: 127.9 kB / 0.9801 GB, free: 4.094 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1781, allocations: 0.5508 MB / 0.9806 GB, free: 3.531 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1783, allocations: 77.25 kB / 0.9807 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.1786, allocations: 0.4937 MB / 0.9812 GB, free: 2.805 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/0.1793, allocations: 0.5974 MB / 0.9818 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1793, allocations: 4 kB / 0.9818 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005369/0.1798, allocations: 475.9 kB / 0.9822 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1798, allocations: 10.97 kB / 0.9822 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1798, allocations: 4 kB / 0.9823 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1799, allocations: 12.78 kB / 0.9823 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.1801, allocations: 127.8 kB / 0.9824 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1801, allocations: 15.98 kB / 0.9824 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1804, allocations: 27.95 kB / 0.9824 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1804, allocations: 32 kB / 0.9825 GB, free: 1.391 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0001817/0.1806, allocations: 200.3 kB / 0.9826 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1807, allocations: 83.58 kB / 0.9827 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.953e-05/0.1808, allocations: 74.34 kB / 0.9828 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1808, allocations: 7.984 kB / 0.9828 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1808, allocations: 0 / 0.9828 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003607/0.1811, allocations: 0.5344 MB / 0.9833 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1825, allocations: 1.404 MB / 0.9847 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1825, allocations: 4 kB / 0.9847 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.1827, allocations: 99.92 kB / 0.9848 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1828, allocations: 4 kB / 0.9848 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.1828, allocations: 16 kB / 0.9848 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.1828, allocations: 15.92 kB / 0.9848 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1828, allocations: 4 kB / 0.9848 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/0.1838, allocations: 0.6535 MB / 0.9855 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1839, allocations: 111.5 kB / 0.9856 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.184, allocations: 16 kB / 0.9856 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1842, allocations: 16.64 kB / 0.9856 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1842, allocations: 35.83 kB / 0.9856 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1842, allocations: 23.98 kB / 0.9857 GB, free: 13.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002604/0.1845, allocations: 342.8 kB / 0.986 GB, free: 13.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1845, allocations: 0 / 0.986 GB, free: 13.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005192/0.185, allocations: 199.9 kB / 0.9862 GB, free: 13.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * 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.0003927/0.1854, allocations: 176.7 kB / 0.9864 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.1858, allocations: 298.4 kB / 0.9866 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1858, allocations: 0 / 0.9866 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.186, allocations: 131.4 kB / 0.9868 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.1869, allocations: 342.5 kB / 0.9871 GB, free: 12.35 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.1891, allocations: 1.473 MB / 0.9885 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.1892, allocations: 210.4 kB / 0.9887 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003699/0.1896, allocations: 157.3 kB / 0.9889 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1897, allocations: 56.5 kB / 0.9889 GB, free: 10.33 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/0.1897, allocations: 0 / 0.9889 GB, free: 10.33 MB / 0.948 GB Notification: Performance of Templates: time 0.0181/0.2078, allocations: 12.63 MB / 1.001 GB, free: 14.05 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.650850452948362]