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.009153/0.009152, allocations: 107 kB / 15.06 MB, free: 5.562 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.001139/0.001139, allocations: 178.6 kB / 15.94 MB, free: 5.527 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 1.918/1.918, allocations: 194.6 MB / 211.3 MB, free: 10.91 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.234/2.234, allocations: 236.2 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004698, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5615, allocations: 98.7 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002118/0.5637, allocations: 1.075 MB / 0.6844 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.564, allocations: 121 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.5641, allocations: 1.031 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.5641, allocations: 4.984 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.5642, allocations: 5.078 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.5643, allocations: 7.672 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.954e-05/0.5644, allocations: 13.95 kB / 0.6845 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.5644, allocations: 7.75 kB / 0.6846 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.5645, allocations: 4.125 kB / 0.6846 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.5646, allocations: 15.22 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.5646, allocations: 0 / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-06/0.5646, allocations: 1.469 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.5646, allocations: 4.516 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.5647, allocations: 27.05 kB / 0.6846 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 5.324e-05/0.5647, allocations: 17.66 kB / 0.6846 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.641e-06/0.5647, allocations: 0 / 0.6846 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.23e-06/0.5647, allocations: 3.938 kB / 0.6846 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.848e-06/0.5648, allocations: 0 / 0.6846 GB, free: 15.73 MB / 0.5261 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.0003469/0.5651, allocations: 326.7 kB / 0.6849 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5652, allocations: 9.375 kB / 0.6849 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.5652, allocations: 5.438 kB / 0.685 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.735e-05/0.5653, allocations: 175.8 kB / 0.6851 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5653, allocations: 1.031 kB / 0.6851 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.5653, allocations: 1.031 kB / 0.6851 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.5655, allocations: 56.73 kB / 0.6852 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.064e-06/0.5656, allocations: 0 / 0.6852 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.5656, allocations: 5 kB / 0.6852 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.5656, allocations: 4 kB / 0.6852 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.5658, allocations: 43.25 kB / 0.6852 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.5661, allocations: 246 kB / 0.6855 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.5663, allocations: 53.83 kB / 0.6855 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.5663, allocations: 0 / 0.6855 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.5663, allocations: 32.67 kB / 0.6855 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.811e-06/0.5663, allocations: 0 / 0.6855 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004312/0.5668, allocations: 98.14 kB / 0.6856 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.5668, allocations: 52.59 kB / 0.6857 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.5669, allocations: 101.5 kB / 0.6858 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.809e-06/0.5669, allocations: 29.83 kB / 0.6858 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.567, allocations: 94.28 kB / 0.6859 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.567, allocations: 5.219 kB / 0.6859 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.567, allocations: 0 / 0.6859 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.5671, allocations: 317.2 kB / 0.6862 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.5672, allocations: 22.38 kB / 0.6862 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.5673, allocations: 23.7 kB / 0.6863 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.5674, allocations: 22.8 kB / 0.6863 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5674, allocations: 0.8438 kB / 0.6863 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002653/0.5677, allocations: 76.78 kB / 0.6863 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5678, allocations: 5.281 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.174e-06/0.5678, allocations: 0.8906 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5678, allocations: 0 / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5679, allocations: 11.73 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.375e-06/0.5679, allocations: 0 / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.568, allocations: 13.14 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.568, allocations: 9.344 kB / 0.6864 GB, free: 14.05 MB / 0.5261 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.732e-05/0.5681, allocations: 112 kB / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.5681, allocations: 8.781 kB / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.5684, allocations: 80.77 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-06/0.5685, allocations: 1.219 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.389e-06/0.5685, allocations: 7.938 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-06/0.5685, allocations: 1.906 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.5687, allocations: 158.5 kB / 0.6867 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-06/0.5687, allocations: 1.281 kB / 0.6867 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.532e-05/0.5688, allocations: 18.72 kB / 0.6868 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.59e-06/0.5688, allocations: 4.656 kB / 0.6868 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.5688, allocations: 2.453 kB / 0.6868 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5688, allocations: 0 / 0.6868 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5688, allocations: 0 / 0.6868 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.5691, allocations: 175.6 kB / 0.6869 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.5691, allocations: 79.02 kB / 0.687 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.5692, allocations: 1.469 kB / 0.687 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5693, allocations: 8.656 kB / 0.687 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.5693, allocations: 6.188 kB / 0.687 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-06/0.5694, allocations: 1.469 kB / 0.687 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.5694, allocations: 80.55 kB / 0.6871 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.73e-07/0.5694, allocations: 0 / 0.6871 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000303/0.5697, allocations: 7.219 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001197/0.5699, allocations: 100.9 kB / 0.6872 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.5701, allocations: 49.06 kB / 0.6873 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.669e-06/0.5701, allocations: 0 / 0.6873 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5703, allocations: 29.33 kB / 0.6873 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.5705, allocations: 8.578 kB / 0.6873 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.5708, allocations: 105.8 kB / 0.6874 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.5709, allocations: 0.6831 MB / 0.6881 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.571, allocations: 1.703 kB / 0.6881 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.571, allocations: 8.438 kB / 0.6881 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/0.571, allocations: 0 / 0.6881 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.002569/0.5736, allocations: 345.3 kB / 0.6884 GB, free: 12.37 MB / 0.5261 GB