Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001116/0.001116, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001763/0.002879, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001204/0.001204, allocations: 157.2 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.00282, allocations: 467.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9605/0.9605, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.379/2.379, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.223/2.602, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.412e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.154/0.154, allocations: 146.5 MB / 0.9614 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004389/0.1584, allocations: 3.885 MB / 0.9652 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.1588, allocations: 19.81 kB / 0.9652 GB, free: 11.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.1592, allocations: 131 kB / 0.9654 GB, free: 11.71 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.1607, allocations: 0.5944 MB / 0.966 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.1615, allocations: 442.9 kB / 0.9664 GB, free: 10.68 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.1626, allocations: 1.022 MB / 0.9674 GB, free: 9.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.1633, allocations: 239.9 kB / 0.9676 GB, free: 9.426 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009723/0.1642, allocations: 0.6474 MB / 0.9682 GB, free: 8.801 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.1647, allocations: 279.1 kB / 0.9685 GB, free: 8.527 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.1647, allocations: 32 kB / 0.9685 GB, free: 8.496 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005912/0.1653, allocations: 327.1 kB / 0.9688 GB, free: 8.176 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1654, allocations: 147.6 kB / 0.969 GB, free: 8.031 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1656, allocations: 123.8 kB / 0.9691 GB, free: 7.91 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.1662, allocations: 470.4 kB / 0.9695 GB, free: 7.449 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.956e-05/0.1662, allocations: 0 / 0.9695 GB, free: 7.449 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1662, allocations: 4 kB / 0.9696 GB, free: 7.445 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.1663, allocations: 0 / 0.9696 GB, free: 7.445 MB / 0.948 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.0008287/0.1671, allocations: 0.7019 MB / 0.9702 GB, free: 6.719 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1671, allocations: 16.55 kB / 0.9703 GB, free: 6.703 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.1678, allocations: 261.5 kB / 0.9705 GB, free: 6.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1681, allocations: 303.8 kB / 0.9708 GB, free: 6.102 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1681, allocations: 20.66 kB / 0.9708 GB, free: 6.082 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1682, allocations: 35.95 kB / 0.9708 GB, free: 6.047 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.1685, allocations: 320.4 kB / 0.9712 GB, free: 5.699 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1685, allocations: 0 / 0.9712 GB, free: 5.699 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1685, allocations: 12 kB / 0.9712 GB, free: 5.688 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1685, allocations: 8 kB / 0.9712 GB, free: 5.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1687, allocations: 95.16 kB / 0.9713 GB, free: 5.586 MB / 0.948 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.000875/0.1695, allocations: 0.5814 MB / 0.9718 GB, free: 4.984 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1697, allocations: 203.6 kB / 0.972 GB, free: 4.773 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.1698, allocations: 76.2 kB / 0.9721 GB, free: 4.695 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/0.1699, allocations: 20.27 kB / 0.9721 GB, free: 4.676 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1699, allocations: 38.84 kB / 0.9722 GB, free: 4.629 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.1699, allocations: 4 kB / 0.9722 GB, free: 4.625 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.0008687/0.1708, allocations: 0.5181 MB / 0.9727 GB, free: 4.078 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.1708, allocations: 55.41 kB / 0.9727 GB, free: 4.012 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.171, allocations: 235 kB / 0.9729 GB, free: 3.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.171, allocations: 33.7 kB / 0.973 GB, free: 3.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.171, allocations: 157.1 kB / 0.9731 GB, free: 3.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/0.1711, allocations: 126.9 kB / 0.9732 GB, free: 3.445 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1712, allocations: 65.66 kB / 0.9733 GB, free: 3.375 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.1713, allocations: 342.7 kB / 0.9736 GB, free: 3.031 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.761e-05/0.1714, allocations: 38.75 kB / 0.9737 GB, free: 2.992 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.1714, allocations: 138.5 kB / 0.9738 GB, free: 2.832 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: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.1717, allocations: 225.1 kB / 0.974 GB, free: 2.605 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1717, allocations: 4 kB / 0.974 GB, free: 2.602 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002343/0.172, allocations: 165.6 kB / 0.9742 GB, free: 2.434 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.172, allocations: 4 kB / 0.9742 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.172, allocations: 0 / 0.9742 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.172, allocations: 4 kB / 0.9742 GB, free: 2.426 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.1722, allocations: 67.91 kB / 0.9743 GB, free: 2.359 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1722, allocations: 4 kB / 0.9743 GB, free: 2.355 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1723, allocations: 11.95 kB / 0.9743 GB, free: 2.344 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.1723, allocations: 11.98 kB / 0.9743 GB, free: 2.332 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: 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.0001007/0.1724, allocations: 140.6 kB / 0.9744 GB, free: 2.184 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.1725, allocations: 31.97 kB / 0.9744 GB, free: 2.152 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.1725, allocations: 42.98 kB / 0.9745 GB, free: 2.109 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1725, allocations: 4 kB / 0.9745 GB, free: 2.105 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1725, allocations: 0 / 0.9745 GB, free: 2.105 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001563/0.1727, allocations: 224.2 kB / 0.9747 GB, free: 1.855 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.1733, allocations: 0.715 MB / 0.9754 GB, free: 1.059 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1734, allocations: 7.938 kB / 0.9754 GB, free: 1.051 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.1736, allocations: 98.7 kB / 0.9755 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1736, allocations: 47.75 kB / 0.9755 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1737, allocations: 4.469 kB / 0.9756 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1737, allocations: 16.05 kB / 0.9756 GB, free: 0.8867 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1737, allocations: 11.92 kB / 0.9756 GB, free: 0.875 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1737, allocations: 7.984 kB / 0.9756 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.1742, allocations: 482.6 kB / 0.976 GB, free: 332 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1742, allocations: 11.98 kB / 0.9761 GB, free: 320 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1743, allocations: 16 kB / 0.9761 GB, free: 304 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1744, allocations: 35.83 kB / 0.9761 GB, free: 268 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1744, allocations: 16 kB / 0.9761 GB, free: 252 kB / 0.948 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.1744, allocations: 92.66 kB / 0.9762 GB, free: 160 kB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1744, allocations: 0 / 0.9762 GB, free: 160 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002827/0.1747, allocations: 111.9 kB / 0.9763 GB, free: 48 kB / 0.948 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.0002332/0.175, allocations: 120.3 kB / 0.9764 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1752, allocations: 136.5 kB / 0.9766 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.1752, allocations: 11.89 kB / 0.9766 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.849e-05/0.1753, allocations: 104.5 kB / 0.9767 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.1758, allocations: 217.5 kB / 0.9769 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.1789, allocations: 0.8323 MB / 0.9777 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.179, allocations: 121.8 kB / 0.9778 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.1792, allocations: 54.95 kB / 0.9779 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.1795, allocations: 169.2 kB / 0.978 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of SimCode: time 1.383e-06/0.1795, allocations: 0 / 0.978 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of Templates: time 0.009913/0.1894, allocations: 7.42 MB / 0.9853 GB, free: 6.945 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.ref.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.569967780262232]