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.Sources.Validation.Pulse.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.Sources.Validation.Pulse,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",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.01532/0.01532, allocations: 88.36 kB / 15.04 MB, free: 6.059 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.00197/0.00197, allocations: 170.2 kB / 15.92 MB, free: 5.996 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.411/2.411, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.724/2.724, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 12.06 kB / 0.6244 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2362, allocations: 106.2 MB / 0.7281 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002057/0.2383, allocations: 1.06 MB / 0.7291 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004928/0.2389, allocations: 134.1 kB / 0.7293 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.2389, allocations: 0 / 0.7293 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.239, allocations: 0 / 0.7293 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.2391, allocations: 11.98 kB / 0.7293 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.2392, allocations: 11.98 kB / 0.7293 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.2393, allocations: 27.91 kB / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.2394, allocations: 0 / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.103e-05/0.2395, allocations: 19.97 kB / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.2396, allocations: 23.84 kB / 0.7293 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2396, allocations: 4 kB / 0.7293 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.2396, allocations: 0 / 0.7293 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2397, allocations: 4 kB / 0.7294 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.2397, allocations: 29.64 kB / 0.7294 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.2398, allocations: 31.94 kB / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2398, allocations: 0 / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2398, allocations: 0 / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2398, allocations: 0 / 0.7294 GB, free: 8.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007463/0.2406, allocations: 351.6 kB / 0.7297 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.2407, allocations: 8.031 kB / 0.7298 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.2407, allocations: 34.56 kB / 0.7298 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.2408, allocations: 7.906 kB / 0.7298 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2409, allocations: 171 kB / 0.73 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.241, allocations: 4 kB / 0.73 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.241, allocations: 0 / 0.73 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.2413, allocations: 65.66 kB / 0.73 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2414, allocations: 3.938 kB / 0.73 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2414, allocations: 0 / 0.73 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2414, allocations: 4 kB / 0.73 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.2418, allocations: 51.95 kB / 0.7301 GB, free: 7.961 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.2423, allocations: 264.9 kB / 0.7303 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.2428, allocations: 70.53 kB / 0.7304 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2429, allocations: 4 kB / 0.7304 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.2433, allocations: 95.33 kB / 0.7305 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 3.647e-06/0.2433, allocations: 0 / 0.7305 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0007346/0.244, allocations: 121.5 kB / 0.7306 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.2441, allocations: 63.36 kB / 0.7307 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2442, allocations: 109.8 kB / 0.7308 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.2443, allocations: 25.7 kB / 0.7308 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.2444, allocations: 96.06 kB / 0.7309 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.2444, allocations: 7.812 kB / 0.7309 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.2444, allocations: 4 kB / 0.7309 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2446, allocations: 314.8 kB / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.2448, allocations: 43.91 kB / 0.7312 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.245, allocations: 35.91 kB / 0.7313 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.2453, allocations: 31.98 kB / 0.7313 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2453, allocations: 0 / 0.7313 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007851/0.2461, allocations: 101.6 kB / 0.7314 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.2462, allocations: 4 kB / 0.7314 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2462, allocations: 0 / 0.7314 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2462, allocations: 4 kB / 0.7314 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.2466, allocations: 24.17 kB / 0.7314 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2466, allocations: 0 / 0.7314 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.2469, allocations: 15.94 kB / 0.7315 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.247, allocations: 0 / 0.7315 GB, free: 6.43 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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000197/0.2472, allocations: 121.8 kB / 0.7316 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.2472, allocations: 11.89 kB / 0.7316 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.2473, allocations: 7.906 kB / 0.7316 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2474, allocations: 0 / 0.7316 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.2474, allocations: 4 kB / 0.7316 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2474, allocations: 0 / 0.7316 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.2477, allocations: 173.6 kB / 0.7318 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.2477, allocations: 0 / 0.7318 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.2479, allocations: 11.98 kB / 0.7318 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.2479, allocations: 0 / 0.7318 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.248, allocations: 0 / 0.7318 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.248, allocations: 0 / 0.7318 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.248, allocations: 8 kB / 0.7318 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.2488, allocations: 121 kB / 0.7319 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.2489, allocations: 88.94 kB / 0.732 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.249, allocations: 8 kB / 0.732 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.2492, allocations: 11.98 kB / 0.732 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.2494, allocations: 11.92 kB / 0.732 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.2494, allocations: 4 kB / 0.732 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001197/0.2496, allocations: 87.27 kB / 0.7321 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.232e-06/0.2496, allocations: 0 / 0.7321 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007447/0.2503, allocations: 12 kB / 0.7321 GB, free: 5.656 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001561/0.2519, allocations: 0.6632 MB / 0.7328 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008099/0.2528, allocations: 75.88 kB / 0.7328 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.2529, allocations: 0 / 0.7328 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.2533, allocations: 35.92 kB / 0.7329 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2538, allocations: 15.98 kB / 0.7329 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.255, allocations: 168.2 kB / 0.733 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.2555, allocations: 0.6809 MB / 0.7337 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.927e-05/0.2557, allocations: 8 kB / 0.7337 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.2557, allocations: 11.42 kB / 0.7337 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/0.2558, allocations: 0 / 0.7337 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.2788, allocations: 1.441 MB / 0.7351 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.2792, allocations: 206.4 kB / 0.7353 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/2.779, allocations: 0 / 0.7353 GB, free: 2.332 MB / 0.5573 GB