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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.092/4.092, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.944e-05, allocations: 2.875 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1931, allocations: 98.74 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.4213, allocations: 130.5 MB / 0.7564 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4217, allocations: 75.97 kB / 0.7564 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02827/0.45, allocations: 6.901 MB / 0.7632 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4501, allocations: 0 / 0.7632 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.249e-05/0.4501, allocations: 12 kB / 0.7632 GB, free: 15.42 MB / 0.6511 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.001165/0.4513, allocations: 0.5997 MB / 0.7638 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4513, allocations: 8.031 kB / 0.7638 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.4515, allocations: 51.39 kB / 0.7638 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.4523, allocations: 372.4 kB / 0.7642 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.4523, allocations: 12 kB / 0.7642 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.4524, allocations: 16 kB / 0.7642 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005683/0.453, allocations: 185.5 kB / 0.7644 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.4537, allocations: 306.1 kB / 0.7647 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4538, allocations: 0 / 0.7647 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.4538, allocations: 7.938 kB / 0.7647 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.4538, allocations: 8 kB / 0.7647 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.4563, allocations: 1.178 MB / 0.7658 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.457, allocations: 231.1 kB / 0.7661 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.4572, allocations: 97.17 kB / 0.7661 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.4573, allocations: 4.188 kB / 0.7662 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4573, allocations: 34.7 kB / 0.7662 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.685e-06/0.4573, allocations: 4 kB / 0.7662 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0005712/0.4579, allocations: 204.2 kB / 0.7664 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.458, allocations: 162.2 kB / 0.7665 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.4585, allocations: 262.4 kB / 0.7668 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.4585, allocations: 29.7 kB / 0.7668 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.4587, allocations: 219.9 kB / 0.767 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.4588, allocations: 66.92 kB / 0.7671 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.4589, allocations: 0 / 0.7671 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.459, allocations: 346.8 kB / 0.7674 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.4592, allocations: 67.94 kB / 0.7675 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.4595, allocations: 143.7 kB / 0.7676 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.4597, allocations: 83.84 kB / 0.7677 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4597, allocations: 0 / 0.7677 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005708/0.4603, allocations: 237.1 kB / 0.7679 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.4605, allocations: 456.8 kB / 0.7684 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4605, allocations: 4 kB / 0.7684 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4606, allocations: 0 / 0.7684 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.461, allocations: 59.91 kB / 0.7684 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4611, allocations: 3.953 kB / 0.7684 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.4615, allocations: 43.81 kB / 0.7685 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.4615, allocations: 4 kB / 0.7685 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4615, allocations: 4.938 kB / 0.7685 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004453/0.462, allocations: 167.8 kB / 0.7686 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.462, allocations: 4 kB / 0.7686 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.462, allocations: 4.125 kB / 0.7686 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.4624, allocations: 47.92 kB / 0.7687 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4624, allocations: 0 / 0.7687 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.4627, allocations: 31.81 kB / 0.7687 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.4628, allocations: 12 kB / 0.7687 GB, free: 9.395 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 () * 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.0001336/0.4629, allocations: 116.9 kB / 0.7688 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004733/0.4634, allocations: 191.4 kB / 0.769 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.4635, allocations: 39.47 kB / 0.7691 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.4636, allocations: 39.05 kB / 0.7691 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4637, allocations: 4 kB / 0.7691 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4637, allocations: 0 / 0.7691 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4637, allocations: 0 / 0.7691 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.4643, allocations: 369.8 kB / 0.7695 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4643, allocations: 0 / 0.7695 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.4648, allocations: 47.97 kB / 0.7695 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4648, allocations: 0 / 0.7695 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.4648, allocations: 0 / 0.7695 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.4648, allocations: 11.98 kB / 0.7695 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4648, allocations: 0 / 0.7695 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.4656, allocations: 409.2 kB / 0.7699 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4658, allocations: 124.7 kB / 0.77 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.4659, allocations: 11.94 kB / 0.77 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.4663, allocations: 28.03 kB / 0.7701 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.4664, allocations: 19.97 kB / 0.7701 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.4664, allocations: 8 kB / 0.7701 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002912/0.4667, allocations: 208.6 kB / 0.7703 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4667, allocations: 0 / 0.7703 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000654/0.4674, allocations: 123.4 kB / 0.7704 GB, free: 7.594 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) * 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.001094/0.4685, allocations: 0.9385 MB / 0.7713 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007348/0.4692, allocations: 288 kB / 0.7716 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4692, allocations: 4.5 kB / 0.7716 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.4695, allocations: 95.92 kB / 0.7717 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.4702, allocations: 62.55 kB / 0.7718 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.4721, allocations: 0.5734 MB / 0.7723 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.4725, allocations: 0.7996 MB / 0.7731 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004391/0.473, allocations: 60.56 kB / 0.7732 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.4733, allocations: 123.3 kB / 0.7733 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.4733, allocations: 0 / 0.7733 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9041/1.377, allocations: 6.444 MB / 0.7796 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.378, allocations: 141.7 kB / 0.7797 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/4.713, allocations: 0 / 0.7797 GB, free: 140.5 MB / 0.6511 GB