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.PIDHysteresis.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.PIDHysteresis,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis",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.01047/0.01047, allocations: 89.75 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.001233/0.001233, allocations: 171.3 kB / 15.93 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.125/2.125, 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.36/2.36, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007215/0.0007221, allocations: 14.97 kB / 0.6243 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2775, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.004768/0.2823, allocations: 2.507 MB / 0.7305 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.2852, allocations: 0.8937 MB / 0.7314 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.2858, allocations: 11.94 kB / 0.7314 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.2859, allocations: 31.66 kB / 0.7314 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007948/0.2867, allocations: 107.7 kB / 0.7315 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.2877, allocations: 163.6 kB / 0.7317 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.2888, allocations: 300.1 kB / 0.732 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.2893, allocations: 149 kB / 0.7321 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.2897, allocations: 139.3 kB / 0.7322 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.29, allocations: 127.2 kB / 0.7324 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.2901, allocations: 16 kB / 0.7324 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.077e-05/0.2902, allocations: 12 kB / 0.7324 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.589e-05/0.2903, allocations: 47.77 kB / 0.7324 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2904, allocations: 93.45 kB / 0.7325 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.291, allocations: 363.3 kB / 0.7329 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2911, allocations: 0 / 0.7329 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2911, allocations: 4 kB / 0.7329 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.2911, allocations: 0 / 0.7329 GB, free: 5.215 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001739/0.2929, allocations: 0.6466 MB / 0.7335 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.2929, allocations: 8.031 kB / 0.7335 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.2931, allocations: 70.53 kB / 0.7336 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2933, allocations: 51.39 kB / 0.7336 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2943, allocations: 375.4 kB / 0.734 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.2944, allocations: 20.66 kB / 0.734 GB, free: 3.953 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/0.2945, allocations: 35.91 kB / 0.734 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2955, allocations: 337.1 kB / 0.7344 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.2956, allocations: 0 / 0.7344 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.2957, allocations: 12 kB / 0.7344 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.2957, allocations: 8 kB / 0.7344 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.2966, allocations: 218 kB / 0.7346 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.2994, allocations: 1.19 MB / 0.7358 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.3005, allocations: 239.3 kB / 0.736 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3005, allocations: 4.188 kB / 0.736 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.3006, allocations: 38.69 kB / 0.736 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=22): time 2.805e-06/0.3006, allocations: 0 / 0.736 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22): time 0.001208/0.3018, allocations: 306.3 kB / 0.7363 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.302, allocations: 110.8 kB / 0.7364 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.3026, allocations: 333.7 kB / 0.7367 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.3027, allocations: 29.7 kB / 0.7368 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.303, allocations: 220.2 kB / 0.737 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3031, allocations: 78.84 kB / 0.7371 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.3032, allocations: 4 kB / 0.7371 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3033, allocations: 346.8 kB / 0.7374 GB, free: 328 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.3037, allocations: 75.97 kB / 0.7375 GB, free: 252 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.3041, allocations: 148.7 kB / 0.7376 GB, free: 76 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.3045, allocations: 86.47 kB / 0.7377 GB, free: 15.99 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3045, allocations: 4 kB / 0.7377 GB, free: 15.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009474/0.3055, allocations: 284.9 kB / 0.738 GB, free: 15.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3056, allocations: 4 kB / 0.738 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3056, allocations: 4 kB / 0.738 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.3056, allocations: 11.89 kB / 0.738 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.3061, allocations: 56.09 kB / 0.738 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3062, allocations: 8 kB / 0.738 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.3065, allocations: 31.83 kB / 0.7381 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.3066, allocations: 11.98 kB / 0.7381 GB, free: 15.57 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.000307/0.3069, allocations: 161.7 kB / 0.7382 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.307, allocations: 35.53 kB / 0.7383 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.3072, allocations: 51.34 kB / 0.7383 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.3072, allocations: 3.953 kB / 0.7383 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3072, allocations: 0 / 0.7383 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3072, allocations: 0 / 0.7383 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.308, allocations: 393.2 kB / 0.7387 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3081, allocations: 0 / 0.7387 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.3086, allocations: 39.92 kB / 0.7387 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.3086, allocations: 7.984 kB / 0.7387 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.3087, allocations: 8 kB / 0.7387 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3087, allocations: 0 / 0.7387 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.3087, allocations: 7.953 kB / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.31, allocations: 426 kB / 0.7392 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.3103, allocations: 132.6 kB / 0.7393 GB, free: 14.24 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.3104, allocations: 8.062 kB / 0.7393 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.3108, allocations: 19.98 kB / 0.7393 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.3109, allocations: 19.97 kB / 0.7393 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.311, allocations: 7.953 kB / 0.7393 GB, free: 14.19 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004387/0.3114, allocations: 239.2 kB / 0.7396 GB, free: 13.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.3114, allocations: 0 / 0.7396 GB, free: 13.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005465/0.312, allocations: 67.78 kB / 0.7396 GB, free: 13.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.001698/0.3137, allocations: 0.9741 MB / 0.7406 GB, free: 12.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000863/0.3146, allocations: 200.6 kB / 0.7408 GB, free: 12.69 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3147, allocations: 0 / 0.7408 GB, free: 12.69 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.315, allocations: 98.16 kB / 0.7409 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.3159, allocations: 73.75 kB / 0.7409 GB, free: 12.53 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008318/0.3242, allocations: 2.924 MB / 0.7438 GB, free: 9.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.3258, allocations: 0.7992 MB / 0.7446 GB, free: 8.695 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009291/0.3268, allocations: 38.95 kB / 0.7446 GB, free: 8.656 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.3272, allocations: 119.4 kB / 0.7447 GB, free: 8.543 MB / 0.573 GB Notification: Performance of SimCode: time 1.733e-06/0.3273, allocations: 0 / 0.7447 GB, free: 8.543 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.3681, allocations: 6.2 MB / 0.7508 GB, free: 2.48 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003873/0.3686, allocations: 193.4 kB / 0.751 GB, free: 2.234 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/3.273, allocations: 4 kB / 0.751 GB, free: 2.23 MB / 0.573 GB