Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",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.0148/0.0148, allocations: 92.88 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.002103/0.002103, allocations: 173.5 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.426/2.426, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.633/2.633, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007728/0.0007731, allocations: 11 kB / 0.6243 GB, free: 21.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2517, allocations: 106.2 MB / 0.728 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004802/0.2565, allocations: 2.644 MB / 0.7306 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.2592, allocations: 0.9285 MB / 0.7315 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.2596, allocations: 19.94 kB / 0.7316 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.2597, allocations: 39.52 kB / 0.7316 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.2603, allocations: 107.6 kB / 0.7317 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.261, allocations: 179.7 kB / 0.7319 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007248/0.2618, allocations: 340.5 kB / 0.7322 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.2622, allocations: 183.7 kB / 0.7324 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.2625, allocations: 147.2 kB / 0.7325 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.2628, allocations: 147.1 kB / 0.7326 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.497e-05/0.2629, allocations: 16 kB / 0.7327 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.263, allocations: 12 kB / 0.7327 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.2631, allocations: 59.69 kB / 0.7327 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2632, allocations: 109.4 kB / 0.7328 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.2638, allocations: 419.2 kB / 0.7332 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2638, allocations: 0 / 0.7332 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2638, allocations: 0 / 0.7332 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2638, allocations: 0 / 0.7332 GB, free: 2.746 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001659/0.2655, allocations: 0.692 MB / 0.7339 GB, free: 2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.2656, allocations: 12.03 kB / 0.7339 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.2657, allocations: 74.53 kB / 0.734 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.2659, allocations: 55.3 kB / 0.734 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.2668, allocations: 407.6 kB / 0.7344 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.2668, allocations: 29 kB / 0.7345 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/0.2669, allocations: 39.98 kB / 0.7345 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.268, allocations: 385.6 kB / 0.7349 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.268, allocations: 4 kB / 0.7349 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.2681, allocations: 19.94 kB / 0.7349 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.2681, allocations: 8 kB / 0.7349 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/0.2691, allocations: 275.8 kB / 0.7352 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.272, allocations: 1.313 MB / 0.7364 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.2732, allocations: 315.1 kB / 0.7367 GB, free: 14.94 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.2732, allocations: 0 / 0.7367 GB, free: 14.94 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005685/0.2738, allocations: 177.5 kB / 0.7369 GB, free: 14.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 2.544e-06/0.2738, allocations: 0 / 0.7369 GB, free: 14.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.001346/0.2752, allocations: 390.3 kB / 0.7373 GB, free: 14.37 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.2753, allocations: 85.11 kB / 0.7374 GB, free: 14.27 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.2759, allocations: 353.5 kB / 0.7377 GB, free: 13.91 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.2759, allocations: 37.7 kB / 0.7377 GB, free: 13.87 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.2762, allocations: 232.3 kB / 0.738 GB, free: 13.64 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.2763, allocations: 102.5 kB / 0.7381 GB, free: 13.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.2764, allocations: 4 kB / 0.7381 GB, free: 13.54 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2766, allocations: 354.8 kB / 0.7384 GB, free: 13.18 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.277, allocations: 108.6 kB / 0.7385 GB, free: 13.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.2775, allocations: 164.4 kB / 0.7387 GB, free: 12.88 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.2779, allocations: 109.7 kB / 0.7388 GB, free: 12.78 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2779, allocations: 4 kB / 0.7388 GB, free: 12.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001104/0.279, allocations: 354.9 kB / 0.7391 GB, free: 12.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2791, allocations: 8 kB / 0.7391 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2791, allocations: 4 kB / 0.7391 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.2791, allocations: 4 kB / 0.7391 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.2797, allocations: 67.89 kB / 0.7392 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.2797, allocations: 4 kB / 0.7392 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.2801, allocations: 47.77 kB / 0.7392 GB, free: 12.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.2801, allocations: 16 kB / 0.7393 GB, free: 12.27 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.000337/0.2805, allocations: 172.1 kB / 0.7394 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.2806, allocations: 35.53 kB / 0.7395 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.2807, allocations: 52.17 kB / 0.7395 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2807, allocations: 0 / 0.7395 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2807, allocations: 4 kB / 0.7395 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2808, allocations: 0 / 0.7395 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.2826, allocations: 0.8104 MB / 0.7403 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2826, allocations: 0 / 0.7403 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.2831, allocations: 51.91 kB / 0.7403 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.2832, allocations: 0 / 0.7403 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.2832, allocations: 8 kB / 0.7404 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2832, allocations: 7.938 kB / 0.7404 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2832, allocations: 0 / 0.7404 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.2847, allocations: 0.5234 MB / 0.7409 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.285, allocations: 140.5 kB / 0.741 GB, free: 10.38 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.285, allocations: 12.06 kB / 0.741 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.2854, allocations: 23.97 kB / 0.741 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.2855, allocations: 23.97 kB / 0.7411 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.2856, allocations: 11.98 kB / 0.7411 GB, free: 10.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004095/0.286, allocations: 235.2 kB / 0.7413 GB, free: 10.08 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.7e-07/0.286, allocations: 0 / 0.7413 GB, free: 10.08 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005491/0.2866, allocations: 87.69 kB / 0.7414 GB, free: 9.992 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001837/0.2884, allocations: 1.085 MB / 0.7424 GB, free: 8.883 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009489/0.2894, allocations: 263.7 kB / 0.7427 GB, free: 8.625 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2894, allocations: 0 / 0.7427 GB, free: 8.625 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.2899, allocations: 132.4 kB / 0.7428 GB, free: 8.496 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.2906, allocations: 73.88 kB / 0.7429 GB, free: 8.422 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/0.2973, allocations: 3.176 MB / 0.746 GB, free: 5.168 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.2978, allocations: 0.8268 MB / 0.7468 GB, free: 4.316 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003488/0.2982, allocations: 43.28 kB / 0.7468 GB, free: 4.273 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.2986, allocations: 147.3 kB / 0.747 GB, free: 4.129 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/0.2986, allocations: 0 / 0.747 GB, free: 4.129 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06038/0.359, allocations: 6.945 MB / 0.7538 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003544/0.3594, allocations: 193.7 kB / 0.754 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.148, allocations: 3.938 kB / 0.754 GB, free: 13.06 MB / 0.5886 GB