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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.185/4.185, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.156e-05, allocations: 4.219 kB / 0.5383 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2219, allocations: 98.74 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/0.4625, allocations: 131.2 MB / 0.7628 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.4629, allocations: 71.97 kB / 0.7629 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02945/0.4923, allocations: 6.952 MB / 0.7697 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.528e-06/0.4924, allocations: 0 / 0.7697 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.619e-05/0.4925, allocations: 11.94 kB / 0.7697 GB, free: 7.488 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.001315/0.4938, allocations: 0.5996 MB / 0.7703 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/0.4939, allocations: 16.03 kB / 0.7703 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.4941, allocations: 66.47 kB / 0.7703 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.4943, allocations: 51.39 kB / 0.7704 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.4953, allocations: 376.4 kB / 0.7708 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.4954, allocations: 20.78 kB / 0.7708 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/0.4955, allocations: 32 kB / 0.7708 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.4964, allocations: 343.7 kB / 0.7711 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.4965, allocations: 0 / 0.7711 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.4965, allocations: 12 kB / 0.7711 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.4966, allocations: 8 kB / 0.7712 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.4972, allocations: 210.1 kB / 0.7714 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.4998, allocations: 1.244 MB / 0.7726 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007451/0.5005, allocations: 243.3 kB / 0.7728 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.5008, allocations: 105.2 kB / 0.7729 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.5009, allocations: 192 / 0.7729 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.5009, allocations: 46.64 kB / 0.7729 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/0.5009, allocations: 0 / 0.7729 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.000638/0.5016, allocations: 213.8 kB / 0.7732 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.5017, allocations: 166.2 kB / 0.7733 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.5022, allocations: 299.6 kB / 0.7736 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.5023, allocations: 33.7 kB / 0.7736 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.5025, allocations: 208.1 kB / 0.7738 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5026, allocations: 78.91 kB / 0.7739 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.5027, allocations: 4 kB / 0.7739 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5029, allocations: 346.8 kB / 0.7742 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.5031, allocations: 68 kB / 0.7743 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.5034, allocations: 147.7 kB / 0.7744 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.5037, allocations: 86.97 kB / 0.7745 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5037, allocations: 7.938 kB / 0.7745 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000725/0.5044, allocations: 261 kB / 0.7748 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.5047, allocations: 451.5 kB / 0.7752 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5047, allocations: 0 / 0.7752 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.5047, allocations: 7.953 kB / 0.7752 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.5052, allocations: 55.91 kB / 0.7753 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5053, allocations: 0 / 0.7753 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/0.5057, allocations: 47.81 kB / 0.7753 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.5058, allocations: 12 kB / 0.7753 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5058, allocations: 4 kB / 0.7753 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005151/0.5063, allocations: 187.8 kB / 0.7755 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5063, allocations: 8.125 kB / 0.7755 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.5064, allocations: 0 / 0.7755 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.5067, allocations: 51.92 kB / 0.7756 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5068, allocations: 0 / 0.7756 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.5072, allocations: 39.81 kB / 0.7756 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.5072, allocations: 8 kB / 0.7756 GB, free: 1.051 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.0001883/0.5074, allocations: 128.8 kB / 0.7757 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5075, allocations: 35.53 kB / 0.7758 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.5077, allocations: 43.25 kB / 0.7758 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5077, allocations: 0 / 0.7758 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5077, allocations: 0 / 0.7758 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5077, allocations: 0 / 0.7758 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006791/0.5084, allocations: 421.2 kB / 0.7762 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5084, allocations: 3.938 kB / 0.7762 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.5089, allocations: 51.97 kB / 0.7763 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.5089, allocations: 3.938 kB / 0.7763 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.509, allocations: 4 kB / 0.7763 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.509, allocations: 0 / 0.7763 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.509, allocations: 0 / 0.7763 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5536/1.063, allocations: 413.1 kB / 0.7767 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/1.063, allocations: 137.4 kB / 0.7768 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.063, allocations: 9.281 kB / 0.7768 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/1.064, allocations: 31.62 kB / 0.7768 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.064, allocations: 20.45 kB / 0.7769 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/1.064, allocations: 5.156 kB / 0.7769 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006119/1.065, allocations: 246.8 kB / 0.7771 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.065, allocations: 0 / 0.7771 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001136/1.066, allocations: 128.9 kB / 0.7772 GB, free: 137.5 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.001455/1.067, allocations: 0.9741 MB / 0.7782 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001228/1.068, allocations: 303.7 kB / 0.7785 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.068, allocations: 4.5 kB / 0.7785 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/1.069, allocations: 101.8 kB / 0.7786 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.07, allocations: 64.83 kB / 0.7786 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/1.072, allocations: 0.586 MB / 0.7792 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.073, allocations: 0.8001 MB / 0.78 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004702/1.073, allocations: 61.64 kB / 0.78 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/1.073, allocations: 119.1 kB / 0.7802 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.073, allocations: 0 / 0.7802 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/1.108, allocations: 7.266 MB / 0.7872 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/1.108, allocations: 163 kB / 0.7874 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.88, allocations: 4 kB / 0.7874 GB, free: 135.3 MB / 0.6511 GB