Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001344/0.001344, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001473/0.001473, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9651/0.9651, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.879/1.879, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.352e-05, allocations: 8.844 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1579/0.1579, allocations: 156.1 MB / 0.964 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003897/0.1618, allocations: 3.884 MB / 0.9678 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.1621, allocations: 19.81 kB / 0.9678 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.1627, allocations: 190.6 kB / 0.968 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1643, allocations: 0.8743 MB / 0.9688 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009269/0.1653, allocations: 462.9 kB / 0.9692 GB, free: 44 kB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009842/0.1662, allocations: 1.038 MB / 0.9703 GB, free: 15 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.1666, allocations: 249.2 kB / 0.9705 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1676, allocations: 0.7126 MB / 0.9712 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.1683, allocations: 307.1 kB / 0.9715 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.1683, allocations: 35.94 kB / 0.9715 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008752/0.1692, allocations: 0.5958 MB / 0.9721 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.1694, allocations: 179.5 kB / 0.9723 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1695, allocations: 151.6 kB / 0.9724 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.1703, allocations: 0.6308 MB / 0.973 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1703, allocations: 3.938 kB / 0.973 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1703, allocations: 0 / 0.973 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.1704, allocations: 0 / 0.973 GB, free: 12.15 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009844/0.1713, allocations: 0.7716 MB / 0.9738 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1714, allocations: 8.031 kB / 0.9738 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.1722, allocations: 199.3 kB / 0.974 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.1728, allocations: 347 kB / 0.9743 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.1728, allocations: 24.66 kB / 0.9743 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.1728, allocations: 28 kB / 0.9744 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.1732, allocations: 325.5 kB / 0.9747 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1732, allocations: 4 kB / 0.9747 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1732, allocations: 12 kB / 0.9747 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1733, allocations: 11.98 kB / 0.9747 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.1735, allocations: 127.8 kB / 0.9748 GB, free: 10.22 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.001145/0.1746, allocations: 0.7922 MB / 0.9756 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1749, allocations: 177.5 kB / 0.9758 GB, free: 9.203 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.175, allocations: 88.2 kB / 0.9759 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.1752, allocations: 36.27 kB / 0.9759 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1752, allocations: 37.67 kB / 0.9759 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/0.1752, allocations: 4 kB / 0.9759 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.001269/0.1765, allocations: 0.6452 MB / 0.9766 GB, free: 8.348 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1765, allocations: 55.41 kB / 0.9766 GB, free: 8.281 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1767, allocations: 302.3 kB / 0.9769 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1768, allocations: 33.64 kB / 0.9769 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1769, allocations: 235.5 kB / 0.9772 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.1769, allocations: 130.8 kB / 0.9773 GB, free: 7.566 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.177, allocations: 75.06 kB / 0.9774 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1772, allocations: 0.5235 MB / 0.9779 GB, free: 6.949 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.1773, allocations: 43.97 kB / 0.9779 GB, free: 6.906 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1774, allocations: 202.1 kB / 0.9781 GB, free: 6.672 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: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.1778, allocations: 264.3 kB / 0.9784 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1778, allocations: 0 / 0.9784 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000272/0.1781, allocations: 217.3 kB / 0.9786 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1781, allocations: 11.98 kB / 0.9786 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1781, allocations: 0 / 0.9786 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1781, allocations: 4.031 kB / 0.9786 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.1783, allocations: 67.91 kB / 0.9786 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1783, allocations: 3.984 kB / 0.9786 GB, free: 6.102 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1785, allocations: 12 kB / 0.9787 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.1785, allocations: 15.94 kB / 0.9787 GB, free: 6.074 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: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001176/0.1786, allocations: 172.5 kB / 0.9788 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.1787, allocations: 43.81 kB / 0.9789 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.1788, allocations: 47.03 kB / 0.9789 GB, free: 5.805 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1788, allocations: 4 kB / 0.9789 GB, free: 5.801 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1788, allocations: 4 kB / 0.9789 GB, free: 5.797 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003308/0.1791, allocations: 284.4 kB / 0.9792 GB, free: 5.488 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009008/0.18, allocations: 0.8517 MB / 0.98 GB, free: 4.531 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.18, allocations: 4 kB / 0.98 GB, free: 4.527 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.1802, allocations: 79.89 kB / 0.9801 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1802, allocations: 4 kB / 0.9801 GB, free: 4.445 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1802, allocations: 16 kB / 0.9801 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.1802, allocations: 7.938 kB / 0.9801 GB, free: 4.422 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1802, allocations: 4 kB / 0.9801 GB, free: 4.418 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.1808, allocations: 0.5597 MB / 0.9807 GB, free: 3.777 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.1808, allocations: 63.73 kB / 0.9808 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1809, allocations: 8 kB / 0.9808 GB, free: 3.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.181, allocations: 19.98 kB / 0.9808 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.1811, allocations: 39.83 kB / 0.9808 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1811, allocations: 19.94 kB / 0.9808 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001046/0.1812, allocations: 207 kB / 0.981 GB, free: 3.43 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1812, allocations: 0 / 0.981 GB, free: 3.43 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003331/0.1815, allocations: 115.9 kB / 0.9811 GB, free: 3.316 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.000245/0.1818, allocations: 151.2 kB / 0.9813 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1821, allocations: 181.4 kB / 0.9815 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1821, allocations: 0 / 0.9815 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1822, allocations: 111.3 kB / 0.9816 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.1829, allocations: 185.9 kB / 0.9817 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1844, allocations: 0.8727 MB / 0.9826 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.133e-05/0.1845, allocations: 121.8 kB / 0.9827 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.1847, allocations: 78.89 kB / 0.9828 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.1848, allocations: 32.5 kB / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/0.1848, allocations: 0 / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of Templates: time 0.009009/0.1938, allocations: 6.831 MB / 0.9895 GB, free: 10.84 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.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.421943983994424]