Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01141/0.01142, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001288/0.001288, allocations: 173.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.228/2.228, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.73/2.73, allocations: 252.9 MB / 0.511 GB, free: 8.371 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005475/0.0005477, allocations: 19.64 kB / 0.6243 GB, free: 21.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2532, allocations: 106.2 MB / 0.7281 GB, free: 8.148 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002239/0.2555, allocations: 1.088 MB / 0.7292 GB, free: 7.047 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.2561, allocations: 114.2 kB / 0.7293 GB, free: 6.934 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.2561, allocations: 0 / 0.7293 GB, free: 6.934 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.2561, allocations: 0 / 0.7293 GB, free: 6.934 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.2562, allocations: 11.97 kB / 0.7293 GB, free: 6.922 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2564, allocations: 4 kB / 0.7293 GB, free: 6.918 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 7.27e-05/0.2565, allocations: 15.92 kB / 0.7293 GB, free: 6.902 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2566, allocations: 11.98 kB / 0.7293 GB, free: 6.891 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.2567, allocations: 7.938 kB / 0.7293 GB, free: 6.883 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.2567, allocations: 11.92 kB / 0.7293 GB, free: 6.871 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2568, allocations: 0 / 0.7293 GB, free: 6.871 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.2568, allocations: 4 kB / 0.7293 GB, free: 6.867 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.2568, allocations: 4 kB / 0.7293 GB, free: 6.863 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2569, allocations: 25.7 kB / 0.7294 GB, free: 6.832 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 6.173e-05/0.2569, allocations: 11.97 kB / 0.7294 GB, free: 6.82 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2569, allocations: 0 / 0.7294 GB, free: 6.82 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.974e-06/0.257, allocations: 0 / 0.7294 GB, free: 6.82 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.257, allocations: 4 kB / 0.7294 GB, free: 6.816 MB / 0.5574 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.0005738/0.2576, allocations: 339.6 kB / 0.7297 GB, free: 6.438 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.2576, allocations: 12.03 kB / 0.7297 GB, free: 6.426 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.2577, allocations: 30.56 kB / 0.7297 GB, free: 6.387 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2577, allocations: 3.984 kB / 0.7297 GB, free: 6.383 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2579, allocations: 170.9 kB / 0.7299 GB, free: 6.176 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2579, allocations: 4 kB / 0.7299 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.258, allocations: 7.938 kB / 0.7299 GB, free: 6.164 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.2582, allocations: 53.67 kB / 0.73 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2583, allocations: 0 / 0.73 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2583, allocations: 0 / 0.73 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2583, allocations: 0 / 0.73 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.2586, allocations: 43.97 kB / 0.73 GB, free: 6.062 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.2591, allocations: 252.9 kB / 0.7302 GB, free: 5.766 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2593, allocations: 50.5 kB / 0.7303 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2593, allocations: 0 / 0.7303 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.2594, allocations: 34.56 kB / 0.7303 GB, free: 5.664 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.2594, allocations: 0 / 0.7303 GB, free: 5.664 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0005681/0.26, allocations: 93.7 kB / 0.7304 GB, free: 5.566 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.26, allocations: 55.41 kB / 0.7305 GB, free: 5.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2602, allocations: 105.8 kB / 0.7306 GB, free: 5.387 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2602, allocations: 29.64 kB / 0.7306 GB, free: 5.352 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.2603, allocations: 80.14 kB / 0.7307 GB, free: 5.27 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.2603, allocations: 7.906 kB / 0.7307 GB, free: 5.262 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/0.2603, allocations: 4.125 kB / 0.7307 GB, free: 5.258 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2605, allocations: 314.8 kB / 0.731 GB, free: 4.941 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2606, allocations: 23.97 kB / 0.731 GB, free: 4.918 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.2608, allocations: 23.92 kB / 0.731 GB, free: 4.895 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.261, allocations: 24.05 kB / 0.7311 GB, free: 4.871 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.261, allocations: 0 / 0.7311 GB, free: 4.871 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003597/0.2613, allocations: 73.66 kB / 0.7311 GB, free: 4.793 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2614, allocations: 15.16 kB / 0.7311 GB, free: 4.781 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2614, allocations: 0 / 0.7311 GB, free: 4.781 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2614, allocations: 0 / 0.7311 GB, free: 4.781 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2616, allocations: 11.98 kB / 0.7312 GB, free: 4.77 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2616, allocations: 0 / 0.7312 GB, free: 4.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.2617, allocations: 11.95 kB / 0.7312 GB, free: 4.758 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2617, allocations: 0 / 0.7312 GB, free: 4.758 MB / 0.5574 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 0.0001127/0.2618, allocations: 117.8 kB / 0.7313 GB, free: 4.633 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.2619, allocations: 8.094 kB / 0.7313 GB, free: 4.625 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.2623, allocations: 80.78 kB / 0.7314 GB, free: 4.539 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2623, allocations: 3.984 kB / 0.7314 GB, free: 4.535 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2623, allocations: 4.031 kB / 0.7314 GB, free: 4.531 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2623, allocations: 3.938 kB / 0.7314 GB, free: 4.527 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.2626, allocations: 157.6 kB / 0.7315 GB, free: 4.324 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2626, allocations: 0 / 0.7315 GB, free: 4.324 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2627, allocations: 11.98 kB / 0.7315 GB, free: 4.312 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2627, allocations: 0 / 0.7315 GB, free: 4.312 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2628, allocations: 0 / 0.7315 GB, free: 4.312 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2628, allocations: 8 kB / 0.7315 GB, free: 4.305 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2628, allocations: 0 / 0.7315 GB, free: 4.305 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.2632, allocations: 179.4 kB / 0.7317 GB, free: 4.113 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.2633, allocations: 77.11 kB / 0.7318 GB, free: 4.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2633, allocations: 3.984 kB / 0.7318 GB, free: 4.016 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2634, allocations: 12.03 kB / 0.7318 GB, free: 4.004 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2635, allocations: 3.984 kB / 0.7318 GB, free: 4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2635, allocations: 0 / 0.7318 GB, free: 4 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.2636, allocations: 83.28 kB / 0.7319 GB, free: 3.918 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2636, allocations: 0 / 0.7319 GB, free: 3.918 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002911/0.2639, allocations: 4 kB / 0.7319 GB, free: 3.914 MB / 0.5574 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.0008852/0.2648, allocations: 0.7163 MB / 0.7326 GB, free: 3.168 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.2652, allocations: 51.98 kB / 0.7326 GB, free: 3.117 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.2652, allocations: 0 / 0.7326 GB, free: 3.117 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2654, allocations: 23.92 kB / 0.7327 GB, free: 3.094 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.2657, allocations: 12.06 kB / 0.7327 GB, free: 3.082 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.2662, allocations: 142.2 kB / 0.7328 GB, free: 2.906 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2666, allocations: 0.6848 MB / 0.7335 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.2666, allocations: 0 / 0.7335 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.2667, allocations: 7.438 kB / 0.7335 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of SimCode: time 1.453e-06/0.2667, allocations: 0 / 0.7335 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.287, allocations: 0.9971 MB / 0.7345 GB, free: 1.297 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004129/0.2875, allocations: 188.4 kB / 0.7346 GB, free: 1.055 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.689, allocations: 3.938 kB / 0.7346 GB, free: 1.051 MB / 0.5574 GB