Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004314/0.004319, allocations: 238.1 kB / 15.81 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001226/0.001226, allocations: 177.8 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.783/3.783, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.08/4.08, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1713, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001461/0.1729, allocations: 1.078 MB / 1.106 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003198/0.1732, allocations: 116.6 kB / 1.106 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.1733, allocations: 0 / 1.106 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1733, allocations: 3.938 kB / 1.106 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.1734, allocations: 3.938 kB / 1.106 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.1735, allocations: 15.3 kB / 1.106 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.1736, allocations: 15.94 kB / 1.106 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.1737, allocations: 3.984 kB / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.596e-05/0.1737, allocations: 8 kB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.1738, allocations: 11.92 kB / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1738, allocations: 0 / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.1738, allocations: 0 / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1738, allocations: 7.984 kB / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.1739, allocations: 32.8 kB / 1.106 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.101e-05/0.1739, allocations: 11.97 kB / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1739, allocations: 0 / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.174, allocations: 0 / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.174, allocations: 0 / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004061/0.1744, allocations: 342.5 kB / 1.106 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1744, allocations: 8.031 kB / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.1745, allocations: 3.953 kB / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.1746, allocations: 175.2 kB / 1.106 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1746, allocations: 0 / 1.106 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1746, allocations: 0 / 1.106 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1748, allocations: 54.42 kB / 1.106 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1749, allocations: 0 / 1.106 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1749, allocations: 3.031 kB / 1.106 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1749, allocations: 7.953 kB / 1.106 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.1752, allocations: 41.19 kB / 1.107 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1755, allocations: 248.3 kB / 1.107 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1757, allocations: 42.5 kB / 1.107 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1758, allocations: 32.31 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1759, allocations: 0 / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.1759, allocations: 30.56 kB / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.494e-06/0.1759, allocations: 0 / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004943/0.1764, allocations: 112.5 kB / 1.107 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1765, allocations: 58.91 kB / 1.107 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.1765, allocations: 99.91 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1765, allocations: 25.7 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.1766, allocations: 84.14 kB / 1.107 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1766, allocations: 3.906 kB / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1766, allocations: 0 / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.1767, allocations: 318.8 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1768, allocations: 22.7 kB / 1.108 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.177, allocations: 19.98 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1771, allocations: 22.7 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1771, allocations: 0 / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003003/0.1774, allocations: 80.66 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1775, allocations: 4 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1775, allocations: 0 / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1775, allocations: 3.953 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1776, allocations: 18.95 kB / 1.108 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1777, allocations: 0 / 1.108 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.1777, allocations: 12 kB / 1.108 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1778, allocations: 3.984 kB / 1.108 GB, free: 38.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/0.1778, allocations: 109.8 kB / 1.108 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1779, allocations: 7.062 kB / 1.108 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.1782, allocations: 76.78 kB / 1.108 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1782, allocations: 3.156 kB / 1.108 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1782, allocations: 3.953 kB / 1.108 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.1783, allocations: 84.95 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1783, allocations: 0 / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1784, allocations: 15.98 kB / 1.108 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.1785, allocations: 0 / 1.108 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003586/0.1788, allocations: 164.1 kB / 1.108 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003341/0.1792, allocations: 251.9 kB / 1.108 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001562/0.1794, allocations: 19.98 kB / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.1794, allocations: 86.62 kB / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of Backend: time 1.633e-06/0.1794, allocations: 0 / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005009/0.1799, allocations: 114.2 kB / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003998/0.1803, allocations: 0.5533 MB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.002762/0.1831, allocations: 447.3 kB / 1.11 GB, free: 36.73 MB / 0.6042 GB