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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.02039/0.02039, allocations: 110.8 kB / 15.06 MB, free: 5.988 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.001902/0.001902, allocations: 176 kB / 15.95 MB, free: 5.918 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 2.176/2.176, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.422/2.422, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005306, allocations: 19.94 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6708/0.6713, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001729/0.6731, allocations: 1.075 MB / 0.6845 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.6736, allocations: 118.1 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.6736, allocations: 1.062 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.6736, allocations: 3.938 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.6737, allocations: 7.984 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.6739, allocations: 7.922 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.6739, allocations: 11.59 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.674, allocations: 7.359 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.6741, allocations: 8.312 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.6742, allocations: 9.25 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.6742, allocations: 1.188 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.6742, allocations: 1.188 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.6742, allocations: 1.875 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.6743, allocations: 31.02 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.476e-05/0.6744, allocations: 15.08 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6744, allocations: 1.219 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6744, allocations: 3.938 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6744, allocations: 0 / 0.6847 GB, free: 15.79 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.0004416/0.6748, allocations: 337.2 kB / 0.685 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6749, allocations: 13.69 kB / 0.685 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.675, allocations: 30.56 kB / 0.6851 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.675, allocations: 9.062 kB / 0.6851 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.6751, allocations: 166.8 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.6751, allocations: 4.797 kB / 0.6853 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.6751, allocations: 1.125 kB / 0.6853 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.6754, allocations: 62.83 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.6754, allocations: 0 / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.6754, allocations: 0 / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.6754, allocations: 4 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.6757, allocations: 46.23 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.6761, allocations: 246.5 kB / 0.6856 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.6763, allocations: 45.39 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.6763, allocations: 1.344 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.6763, allocations: 33.06 kB / 0.6857 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.6763, allocations: 0 / 0.6857 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0005823/0.6769, allocations: 102.4 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.677, allocations: 51.41 kB / 0.6858 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.6771, allocations: 104.4 kB / 0.6859 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.6771, allocations: 31.02 kB / 0.6859 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.6771, allocations: 86.03 kB / 0.686 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.6772, allocations: 9.047 kB / 0.686 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.6772, allocations: 4 kB / 0.686 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.6772, allocations: 313.6 kB / 0.6863 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.6774, allocations: 18.53 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.6775, allocations: 26.69 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.6777, allocations: 19.11 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6777, allocations: 0 / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003397/0.6781, allocations: 85.14 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.6781, allocations: 5.656 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6781, allocations: 0 / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6781, allocations: 1.531 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.6783, allocations: 10.38 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.6783, allocations: 1.906 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.824e-05/0.6784, allocations: 15.95 kB / 0.6865 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.6784, allocations: 1.062 kB / 0.6865 GB, free: 14.06 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 6.342e-05/0.6785, allocations: 109.6 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.6785, allocations: 3.906 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.6789, allocations: 90 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6789, allocations: 0 / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6789, allocations: 0 / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6789, allocations: 1.469 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.6791, allocations: 167 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6791, allocations: 0 / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.6793, allocations: 11.83 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6793, allocations: 0 / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6793, allocations: 6.406 kB / 0.6869 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6793, allocations: 0 / 0.6869 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6793, allocations: 0 / 0.6869 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.6797, allocations: 177.1 kB / 0.6871 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.6797, allocations: 77.77 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.6797, allocations: 2.031 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.6799, allocations: 8.969 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.6799, allocations: 2.375 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.68, allocations: 0 / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.68, allocations: 84.25 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.68, allocations: 0 / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002788/0.6803, allocations: 13.19 kB / 0.6872 GB, free: 13.37 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.0005972/0.6809, allocations: 0.711 MB / 0.6879 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.6813, allocations: 44.34 kB / 0.688 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6813, allocations: 0.9688 kB / 0.688 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.6814, allocations: 29.08 kB / 0.688 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.6817, allocations: 7.016 kB / 0.688 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.6822, allocations: 134.9 kB / 0.6881 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.6823, allocations: 0.6796 MB / 0.6888 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.6824, allocations: 5.531 kB / 0.6888 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.6824, allocations: 8.188 kB / 0.6888 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.644e-06/0.6824, allocations: 0 / 0.6888 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.7007, allocations: 0.9985 MB / 0.6898 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.701, allocations: 197.8 kB / 0.69 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.942, allocations: 3.938 kB / 0.69 GB, free: 11.39 MB / 0.5261 GB