Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01088/0.01088, allocations: 107.9 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001179/0.001179, allocations: 184.5 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.113/2.113, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.526/2.526, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.000647, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6871/0.6878, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.9314, allocations: 131.3 MB / 0.8116 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.9317, allocations: 79.95 kB / 0.8117 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02952/0.9613, allocations: 6.974 MB / 0.8185 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.875e-06/0.9613, allocations: 0 / 0.8185 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.92e-05/0.9614, allocations: 12 kB / 0.8185 GB, free: 3.809 MB / 0.6355 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.001515/0.9629, allocations: 0.6622 MB / 0.8192 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.963, allocations: 12.03 kB / 0.8192 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.9632, allocations: 66.53 kB / 0.8192 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.9633, allocations: 51.39 kB / 0.8193 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.9641, allocations: 383.2 kB / 0.8196 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.9642, allocations: 24.66 kB / 0.8197 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.9643, allocations: 28 kB / 0.8197 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.9653, allocations: 366 kB / 0.82 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.9653, allocations: 224 / 0.82 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.9654, allocations: 16 kB / 0.8201 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.9654, allocations: 11.94 kB / 0.8201 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.9663, allocations: 250 kB / 0.8203 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.9689, allocations: 1.237 MB / 0.8215 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.97, allocations: 284.5 kB / 0.8218 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.9701, allocations: 192 / 0.8218 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.9701, allocations: 50.64 kB / 0.8218 GB, free: 172 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.9701, allocations: 0 / 0.8218 GB, free: 172 kB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.001313/0.9714, allocations: 346.7 kB / 0.8222 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.9716, allocations: 162.2 kB / 0.8223 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.9721, allocations: 308.8 kB / 0.8226 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.9722, allocations: 29.7 kB / 0.8226 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.9724, allocations: 212.4 kB / 0.8228 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.9726, allocations: 78.84 kB / 0.8229 GB, free: 15 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.9726, allocations: 4 kB / 0.8229 GB, free: 15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9728, allocations: 350.8 kB / 0.8233 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.9731, allocations: 87.97 kB / 0.8233 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.9736, allocations: 173.1 kB / 0.8235 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.974, allocations: 107.2 kB / 0.8236 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.974, allocations: 0 / 0.8236 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009748/0.975, allocations: 301 kB / 0.8239 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.9752, allocations: 453 kB / 0.8243 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.9752, allocations: 0 / 0.8243 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.9753, allocations: 4 kB / 0.8243 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.9757, allocations: 59.86 kB / 0.8244 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.9758, allocations: 4 kB / 0.8244 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.9762, allocations: 47.81 kB / 0.8244 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.9762, allocations: 8 kB / 0.8245 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.9763, allocations: 4 kB / 0.8245 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006298/0.9769, allocations: 210.8 kB / 0.8247 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9769, allocations: 4 kB / 0.8247 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.9769, allocations: 0 / 0.8247 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.9773, allocations: 59.98 kB / 0.8247 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.9773, allocations: 0 / 0.8247 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.9777, allocations: 43.67 kB / 0.8248 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.9777, allocations: 7.984 kB / 0.8248 GB, free: 13.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 29 * 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.0003371/0.9781, allocations: 241 kB / 0.825 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.9782, allocations: 35.62 kB / 0.825 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.9783, allocations: 39.47 kB / 0.8251 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.9783, allocations: 4 kB / 0.8251 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.9784, allocations: 0 / 0.8251 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9784, allocations: 0 / 0.8251 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.9791, allocations: 421.1 kB / 0.8255 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.9791, allocations: 4 kB / 0.8255 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.9796, allocations: 51.91 kB / 0.8255 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.9796, allocations: 0 / 0.8255 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.9796, allocations: 4 kB / 0.8255 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.9796, allocations: 4 kB / 0.8255 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9796, allocations: 0 / 0.8255 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.9809, allocations: 480 kB / 0.826 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.9812, allocations: 136.6 kB / 0.8261 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.9813, allocations: 8 kB / 0.8261 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.9817, allocations: 32.03 kB / 0.8262 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.9818, allocations: 23.97 kB / 0.8262 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.9818, allocations: 4 kB / 0.8262 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004292/0.9822, allocations: 247.2 kB / 0.8264 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9822, allocations: 0 / 0.8264 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000714/0.983, allocations: 127.5 kB / 0.8265 GB, free: 11.13 MB / 0.6511 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.001671/0.9846, allocations: 1.031 MB / 0.8276 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.9859, allocations: 348.2 kB / 0.8279 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9859, allocations: 0 / 0.8279 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.9863, allocations: 111.9 kB / 0.828 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.9871, allocations: 84.06 kB / 0.8281 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.9927, allocations: 2.729 MB / 0.8307 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.9933, allocations: 0.8154 MB / 0.8315 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.9936, allocations: 34.97 kB / 0.8316 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.9939, allocations: 127.4 kB / 0.8317 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.9939, allocations: 0 / 0.8317 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04181/1.036, allocations: 6.862 MB / 0.8384 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/1.036, allocations: 190.8 kB / 0.8386 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.784, allocations: 0 / 0.8386 GB, free: 14.8 MB / 0.6667 GB