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.Derivative.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.Derivative,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.01483/0.01484, allocations: 88.75 kB / 15.04 MB, free: 6.055 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.001902/0.001902, allocations: 168.1 kB / 15.92 MB, free: 5.992 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.308/2.308, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.894/2.894, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004989, allocations: 15.03 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001969/0.2501, allocations: 1.127 MB / 0.7292 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005569/0.2507, allocations: 209.9 kB / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.2507, allocations: 0 / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.2507, allocations: 3.938 kB / 0.7294 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2509, allocations: 8 kB / 0.7294 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.2511, allocations: 19.97 kB / 0.7294 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2512, allocations: 27.91 kB / 0.7295 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.2513, allocations: 11.98 kB / 0.7295 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.2514, allocations: 19.92 kB / 0.7295 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.2515, allocations: 19.91 kB / 0.7295 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.2515, allocations: 4 kB / 0.7295 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.2515, allocations: 0 / 0.7295 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.2515, allocations: 8 kB / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.2516, allocations: 29.64 kB / 0.7295 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.818e-05/0.2517, allocations: 35.92 kB / 0.7296 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2517, allocations: 0 / 0.7296 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2517, allocations: 4 kB / 0.7296 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.2517, allocations: 0 / 0.7296 GB, free: 8.594 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006032/0.2523, allocations: 359.5 kB / 0.7299 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2524, allocations: 8.031 kB / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.2524, allocations: 34.5 kB / 0.73 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.2525, allocations: 4 kB / 0.73 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2527, allocations: 190.8 kB / 0.7302 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2527, allocations: 0 / 0.7302 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.2527, allocations: 4 kB / 0.7302 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.253, allocations: 65.61 kB / 0.7302 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.253, allocations: 0 / 0.7302 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.253, allocations: 0 / 0.7302 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.253, allocations: 0 / 0.7302 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.2534, allocations: 55.95 kB / 0.7303 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.2539, allocations: 288.9 kB / 0.7305 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.2544, allocations: 70.55 kB / 0.7306 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2544, allocations: 0 / 0.7306 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2544, allocations: 38.64 kB / 0.7307 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.2545, allocations: 4 kB / 0.7307 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0006069/0.2551, allocations: 125.7 kB / 0.7308 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2551, allocations: 59.36 kB / 0.7308 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.2552, allocations: 113.8 kB / 0.7309 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2553, allocations: 29.7 kB / 0.731 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.2553, allocations: 88.12 kB / 0.7311 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.2554, allocations: 15.81 kB / 0.7311 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.2554, allocations: 0 / 0.7311 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2555, allocations: 310.8 kB / 0.7314 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2557, allocations: 31.97 kB / 0.7314 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.2559, allocations: 31.98 kB / 0.7314 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2561, allocations: 23.98 kB / 0.7314 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2561, allocations: 4 kB / 0.7315 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003934/0.2565, allocations: 97.66 kB / 0.7315 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2565, allocations: 8 kB / 0.7316 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2565, allocations: 0 / 0.7316 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2566, allocations: 3.984 kB / 0.7316 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2567, allocations: 16.31 kB / 0.7316 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2568, allocations: 3.953 kB / 0.7316 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2569, allocations: 23.83 kB / 0.7316 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2569, allocations: 3.938 kB / 0.7316 GB, free: 6.301 MB / 0.5573 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 (5): * Single equations (assignments): 5 * 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 9.035e-05/0.257, allocations: 117.8 kB / 0.7317 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.257, allocations: 0 / 0.7317 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.2575, allocations: 101.5 kB / 0.7318 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2575, allocations: 0 / 0.7318 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2575, allocations: 0 / 0.7318 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.2575, allocations: 7.938 kB / 0.7318 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.2578, allocations: 169.7 kB / 0.732 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2578, allocations: 0 / 0.732 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.2579, allocations: 15.92 kB / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.258, allocations: 4 kB / 0.732 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.258, allocations: 0 / 0.732 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.258, allocations: 4 kB / 0.732 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.258, allocations: 0 / 0.732 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.2586, allocations: 227.3 kB / 0.7322 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.2587, allocations: 85.05 kB / 0.7323 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2587, allocations: 0 / 0.7323 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2589, allocations: 8.172 kB / 0.7323 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2589, allocations: 12 kB / 0.7323 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.259, allocations: 0 / 0.7323 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.222e-05/0.259, allocations: 91.27 kB / 0.7324 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.625e-06/0.259, allocations: 4.062 kB / 0.7324 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000299/0.2594, allocations: 7.938 kB / 0.7324 GB, free: 5.355 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.000965/0.2603, allocations: 0.7554 MB / 0.7332 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.2607, allocations: 64.02 kB / 0.7332 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2608, allocations: 3.938 kB / 0.7332 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.2609, allocations: 39.97 kB / 0.7333 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2612, allocations: 0 / 0.7333 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2626, allocations: 0.5223 MB / 0.7338 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2629, allocations: 0.6887 MB / 0.7344 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.263, allocations: 4.234 kB / 0.7344 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.2631, allocations: 19.38 kB / 0.7345 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.2631, allocations: 0 / 0.7345 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.2878, allocations: 1.354 MB / 0.7358 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000403/0.2883, allocations: 197.3 kB / 0.736 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.642, allocations: 0 / 0.736 GB, free: 1.66 MB / 0.5573 GB