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.0007317/0.0007317, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001792, allocations: 440 kB / 10.41 MB, free: 284 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.0007065/0.0007065, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001711, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9736/0.9736, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0869/1.061, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.4/2.4, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2826/2.682, allocations: 146 MB / 0.8176 GB, free: 3.805 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 2.104e-06/2.104e-06, allocations: 0 / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.604e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1494/0.1494, allocations: 146.5 MB / 0.9621 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.1539, allocations: 3.884 MB / 0.9659 GB, free: 11.43 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.1543, allocations: 15.88 kB / 0.9659 GB, free: 11.41 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.1548, allocations: 139 kB / 0.966 GB, free: 11.28 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.1563, allocations: 0.6021 MB / 0.9666 GB, free: 10.67 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009383/0.1572, allocations: 431 kB / 0.967 GB, free: 10.25 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1584, allocations: 1.014 MB / 0.968 GB, free: 9.234 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006306/0.1591, allocations: 262.1 kB / 0.9682 GB, free: 8.988 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009878/0.1601, allocations: 0.6223 MB / 0.9688 GB, free: 8.379 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.1604, allocations: 279.1 kB / 0.9691 GB, free: 8.105 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.1605, allocations: 28 kB / 0.9691 GB, free: 8.078 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.161, allocations: 327.1 kB / 0.9695 GB, free: 7.758 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.1612, allocations: 155.6 kB / 0.9696 GB, free: 7.605 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1613, allocations: 123.8 kB / 0.9697 GB, free: 7.484 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006904/0.162, allocations: 474.4 kB / 0.9702 GB, free: 7.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.162, allocations: 4 kB / 0.9702 GB, free: 7.016 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.162, allocations: 0 / 0.9702 GB, free: 7.016 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.1621, allocations: 0 / 0.9702 GB, free: 7.016 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.0009497/0.163, allocations: 0.698 MB / 0.9709 GB, free: 6.293 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1631, allocations: 16.03 kB / 0.9709 GB, free: 6.277 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007991/0.1639, allocations: 261.5 kB / 0.9711 GB, free: 6.004 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.1643, allocations: 303.7 kB / 0.9714 GB, free: 5.676 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1643, allocations: 20.66 kB / 0.9714 GB, free: 5.656 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.1644, allocations: 43.94 kB / 0.9715 GB, free: 5.613 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1647, allocations: 312.4 kB / 0.9718 GB, free: 5.273 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1647, allocations: 0 / 0.9718 GB, free: 5.273 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.1648, allocations: 16 kB / 0.9718 GB, free: 5.258 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1648, allocations: 8 kB / 0.9718 GB, free: 5.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.165, allocations: 95.16 kB / 0.9719 GB, free: 5.156 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.0009697/0.1659, allocations: 0.5736 MB / 0.9724 GB, free: 4.562 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1662, allocations: 208.1 kB / 0.9726 GB, free: 4.348 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/0.1663, allocations: 76.2 kB / 0.9727 GB, free: 4.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.005e-05/0.1664, allocations: 24.27 kB / 0.9727 GB, free: 4.246 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1664, allocations: 34.84 kB / 0.9728 GB, free: 4.203 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.1664, allocations: 0 / 0.9728 GB, free: 4.203 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.00113/0.1675, allocations: 0.5421 MB / 0.9733 GB, free: 3.629 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1675, allocations: 55.41 kB / 0.9734 GB, free: 3.562 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1677, allocations: 235 kB / 0.9736 GB, free: 3.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1678, allocations: 29.7 kB / 0.9736 GB, free: 3.285 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.1678, allocations: 165.1 kB / 0.9738 GB, free: 3.121 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.168, allocations: 122.9 kB / 0.9739 GB, free: 3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.168, allocations: 61.66 kB / 0.9739 GB, free: 2.934 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.1681, allocations: 346.7 kB / 0.9743 GB, free: 2.586 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.1682, allocations: 34.81 kB / 0.9743 GB, free: 2.551 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1683, allocations: 147.7 kB / 0.9744 GB, free: 2.383 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.0003641/0.1687, allocations: 226.2 kB / 0.9747 GB, free: 2.156 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1687, allocations: 0 / 0.9747 GB, free: 2.156 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002943/0.169, allocations: 157.3 kB / 0.9748 GB, free: 1.996 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.169, allocations: 10.28 kB / 0.9748 GB, free: 1.988 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.169, allocations: 0 / 0.9748 GB, free: 1.988 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.169, allocations: 4 kB / 0.9748 GB, free: 1.984 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.1693, allocations: 79.94 kB / 0.9749 GB, free: 1.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1693, allocations: 0 / 0.9749 GB, free: 1.906 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1694, allocations: 15.94 kB / 0.9749 GB, free: 1.891 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.1694, allocations: 8 kB / 0.9749 GB, free: 1.883 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.0001168/0.1696, allocations: 132.5 kB / 0.975 GB, free: 1.742 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1696, allocations: 31.97 kB / 0.9751 GB, free: 1.711 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.1697, allocations: 46.98 kB / 0.9751 GB, free: 1.664 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1697, allocations: 4 kB / 0.9751 GB, free: 1.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1697, allocations: 4 kB / 0.9751 GB, free: 1.656 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001984/0.1699, allocations: 232.2 kB / 0.9754 GB, free: 1.398 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.1707, allocations: 0.7059 MB / 0.976 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1707, allocations: 7.938 kB / 0.976 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.171, allocations: 106.7 kB / 0.9762 GB, free: 0.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.1711, allocations: 43.75 kB / 0.9762 GB, free: 468 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1711, allocations: 8 kB / 0.9762 GB, free: 460 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1711, allocations: 8 kB / 0.9762 GB, free: 452 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.1711, allocations: 11.92 kB / 0.9762 GB, free: 440 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1711, allocations: 8 kB / 0.9762 GB, free: 432 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.1717, allocations: 483.6 kB / 0.9767 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.1718, allocations: 16.03 kB / 0.9767 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1719, allocations: 15.98 kB / 0.9767 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.172, allocations: 35.83 kB / 0.9768 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.172, allocations: 15.98 kB / 0.9768 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.1721, allocations: 80.66 kB / 0.9768 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 0.9768 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003692/0.1725, allocations: 115.9 kB / 0.977 GB, free: 15.6 MB / 0.9636 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.0002227/0.1727, allocations: 128.2 kB / 0.9771 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1729, allocations: 144.5 kB / 0.9772 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.1729, allocations: 4 kB / 0.9772 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1731, allocations: 127.9 kB / 0.9773 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.174, allocations: 0.7902 MB / 0.9781 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.178, allocations: 0.8356 MB / 0.9789 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.66e-05/0.1781, allocations: 121.8 kB / 0.979 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.1783, allocations: 54.89 kB / 0.9791 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.1786, allocations: 165.2 kB / 0.9793 GB, free: 13 MB / 0.9636 GB Notification: Performance of SimCode: time 7.12e-07/0.1786, allocations: 4 kB / 0.9793 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of Templates: time 0.02052/0.1991, allocations: 7.422 MB / 0.9865 GB, free: 5.754 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.659296396188438]