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.IntegratorWithReset.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.IntegratorWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.01021/0.01021, allocations: 88.81 kB / 15.04 MB, free: 5.977 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.001149/0.001149, allocations: 171.7 kB / 15.92 MB, free: 5.938 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.139/2.139, 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.535/2.535, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 14.09 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2329, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002501/0.2355, allocations: 1.399 MB / 0.7295 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.2365, allocations: 300 kB / 0.7297 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2366, allocations: 4 kB / 0.7297 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.2367, allocations: 11.86 kB / 0.7298 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.2369, allocations: 19.91 kB / 0.7298 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2371, allocations: 43.94 kB / 0.7298 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.2374, allocations: 95.77 kB / 0.7299 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2375, allocations: 41.7 kB / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.2376, allocations: 35.86 kB / 0.73 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.2378, allocations: 51.64 kB / 0.73 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.2378, allocations: 7.938 kB / 0.73 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.2378, allocations: 4 kB / 0.73 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.2379, allocations: 19.91 kB / 0.7301 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.238, allocations: 45.64 kB / 0.7301 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.2381, allocations: 92.06 kB / 0.7302 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2381, allocations: 0 / 0.7302 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2382, allocations: 3.938 kB / 0.7302 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.2382, allocations: 4 kB / 0.7302 GB, free: 7.965 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009213/0.2391, allocations: 442.8 kB / 0.7306 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2392, allocations: 8.031 kB / 0.7306 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.2392, allocations: 42.55 kB / 0.7307 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.2393, allocations: 23.77 kB / 0.7307 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.2396, allocations: 216.4 kB / 0.7309 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2397, allocations: 8 kB / 0.7309 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.2397, allocations: 12 kB / 0.7309 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.2402, allocations: 153.9 kB / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2402, allocations: 0 / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.2402, allocations: 0 / 0.7311 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2403, allocations: 4 kB / 0.7311 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.2407, allocations: 91.83 kB / 0.7312 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.242, allocations: 0.7433 MB / 0.7319 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.2423, allocations: 54.5 kB / 0.7319 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2423, allocations: 0 / 0.7319 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.2427, allocations: 126.8 kB / 0.7321 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.2427, allocations: 0 / 0.7321 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007933/0.2435, allocations: 181.4 kB / 0.7322 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.2436, allocations: 136.5 kB / 0.7324 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.2439, allocations: 194.5 kB / 0.7325 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.244, allocations: 33.7 kB / 0.7326 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2441, allocations: 112 kB / 0.7327 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.2441, allocations: 39.81 kB / 0.7327 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.2442, allocations: 4 kB / 0.7327 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2443, allocations: 326.8 kB / 0.733 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.2446, allocations: 43.91 kB / 0.7331 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.2449, allocations: 124 kB / 0.7332 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.2451, allocations: 55.91 kB / 0.7332 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2451, allocations: 4 kB / 0.7332 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006308/0.2458, allocations: 197.4 kB / 0.7334 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.2458, allocations: 8 kB / 0.7334 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2458, allocations: 3.984 kB / 0.7334 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2459, allocations: 8 kB / 0.7335 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2461, allocations: 27.92 kB / 0.7335 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.2461, allocations: 15.83 kB / 0.7335 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.2464, allocations: 35.92 kB / 0.7335 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2464, allocations: 8 kB / 0.7335 GB, free: 4.203 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001697/0.2466, allocations: 133.8 kB / 0.7337 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.2466, allocations: 11.91 kB / 0.7337 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.2467, allocations: 17.64 kB / 0.7337 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2467, allocations: 7.984 kB / 0.7337 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2467, allocations: 3.984 kB / 0.7337 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.2467, allocations: 11.89 kB / 0.7337 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.2481, allocations: 0.5133 MB / 0.7342 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.2481, allocations: 3.984 kB / 0.7342 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.2485, allocations: 27.98 kB / 0.7343 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.2485, allocations: 0 / 0.7343 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.2485, allocations: 7.953 kB / 0.7343 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2485, allocations: 0 / 0.7343 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.2486, allocations: 0 / 0.7343 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.2498, allocations: 420.3 kB / 0.7347 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2499, allocations: 88.92 kB / 0.7347 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.25, allocations: 8.312 kB / 0.7348 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.2505, allocations: 24.02 kB / 0.7348 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.2506, allocations: 11.98 kB / 0.7348 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.2506, allocations: 4 kB / 0.7348 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002494/0.2509, allocations: 144.4 kB / 0.7349 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.62e-07/0.2509, allocations: 0 / 0.7349 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007803/0.2517, allocations: 31.84 kB / 0.735 GB, free: 2.629 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001398/0.2532, allocations: 1.151 MB / 0.7361 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2537, allocations: 112.3 kB / 0.7362 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2537, allocations: 0 / 0.7362 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.254, allocations: 51.91 kB / 0.7362 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.2545, allocations: 48.09 kB / 0.7363 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.258, allocations: 3.006 MB / 0.7392 GB, free: 14.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.2585, allocations: 0.7283 MB / 0.7399 GB, free: 13.35 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.2586, allocations: 13.42 kB / 0.7399 GB, free: 13.34 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2587, allocations: 43.42 kB / 0.74 GB, free: 13.29 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/0.2587, allocations: 3.938 kB / 0.74 GB, free: 13.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.2834, allocations: 3.104 MB / 0.743 GB, free: 10.32 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003511/0.2838, allocations: 201.8 kB / 0.7432 GB, free: 10.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/3.069, allocations: 0 / 0.7432 GB, free: 10.08 MB / 0.573 GB