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.01618/0.01618, allocations: 106.8 kB / 15.06 MB, free: 5.555 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.00123/0.00123, allocations: 181.7 kB / 15.95 MB, free: 5.52 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.344/2.344, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.393/2.393, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.000509, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.6786, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.00395/0.6826, allocations: 2.475 MB / 0.6858 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.6849, allocations: 0.8965 MB / 0.6867 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.6853, allocations: 8.094 kB / 0.6867 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.257e-05/0.6854, allocations: 30.89 kB / 0.6868 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005193/0.6859, allocations: 108.7 kB / 0.6869 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.6866, allocations: 169.1 kB / 0.687 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.6872, allocations: 301.3 kB / 0.6873 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.6876, allocations: 147.2 kB / 0.6874 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.6879, allocations: 135.3 kB / 0.6876 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.6881, allocations: 136.9 kB / 0.6877 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.6882, allocations: 11.25 kB / 0.6877 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.6883, allocations: 10.59 kB / 0.6877 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.6883, allocations: 48.69 kB / 0.6878 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.6884, allocations: 92.36 kB / 0.6879 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.689, allocations: 357.4 kB / 0.6882 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.689, allocations: 3.938 kB / 0.6882 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6891, allocations: 1.188 kB / 0.6882 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6891, allocations: 3.938 kB / 0.6882 GB, free: 13.6 MB / 0.5261 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.001356/0.6904, allocations: 0.6542 MB / 0.6888 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.6905, allocations: 18.03 kB / 0.6889 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.6906, allocations: 63.52 kB / 0.6889 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.6907, allocations: 50.42 kB / 0.689 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.6915, allocations: 381.5 kB / 0.6893 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.6915, allocations: 25.22 kB / 0.6894 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.6916, allocations: 27.77 kB / 0.6894 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/0.6925, allocations: 337 kB / 0.6897 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.6925, allocations: 0.6562 kB / 0.6897 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.6926, allocations: 15.03 kB / 0.6897 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.6926, allocations: 7.125 kB / 0.6897 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.6934, allocations: 219.6 kB / 0.6899 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.6957, allocations: 1.198 MB / 0.6911 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.6966, allocations: 235.2 kB / 0.6913 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.6966, allocations: 2.469 kB / 0.6913 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.6967, allocations: 40.36 kB / 0.6914 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 2.695e-06/0.6967, allocations: 1.062 kB / 0.6914 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.001063/0.6978, allocations: 303 kB / 0.6917 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.6978, allocations: 106.8 kB / 0.6918 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.6984, allocations: 333.2 kB / 0.6921 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.6984, allocations: 31.3 kB / 0.6921 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.6986, allocations: 219.1 kB / 0.6923 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/0.6987, allocations: 82.8 kB / 0.6924 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.6987, allocations: 5.406 kB / 0.6924 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.6988, allocations: 345.8 kB / 0.6927 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.6991, allocations: 77.05 kB / 0.6928 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.6995, allocations: 150.2 kB / 0.693 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.6998, allocations: 84.95 kB / 0.693 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6999, allocations: 6.141 kB / 0.693 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008714/0.7007, allocations: 285.9 kB / 0.6933 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.7009, allocations: 0.6234 MB / 0.6939 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.7009, allocations: 0.8438 kB / 0.6939 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.701, allocations: 2.844 kB / 0.6939 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.7014, allocations: 58.05 kB / 0.694 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.7014, allocations: 2.766 kB / 0.694 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.7018, allocations: 39.27 kB / 0.694 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.7018, allocations: 12.33 kB / 0.694 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.7019, allocations: 3.375 kB / 0.694 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005997/0.7025, allocations: 216.9 kB / 0.6942 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7025, allocations: 2.812 kB / 0.6942 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.7025, allocations: 2.469 kB / 0.6943 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.7029, allocations: 54.48 kB / 0.6943 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.7029, allocations: 7.859 kB / 0.6943 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.7032, allocations: 41.03 kB / 0.6943 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.7032, allocations: 11.41 kB / 0.6944 GB, free: 9.168 MB / 0.5261 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.000282/0.7035, allocations: 238 kB / 0.6946 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.7036, allocations: 32.16 kB / 0.6946 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.7037, allocations: 41.16 kB / 0.6947 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.7038, allocations: 3.125 kB / 0.6947 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7038, allocations: 0 / 0.6947 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.7038, allocations: 5.266 kB / 0.6947 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.7044, allocations: 392.1 kB / 0.695 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7044, allocations: 0.7031 kB / 0.695 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.7049, allocations: 39.16 kB / 0.6951 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.7049, allocations: 1.031 kB / 0.6951 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.7049, allocations: 7.266 kB / 0.6951 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7049, allocations: 7.938 kB / 0.6951 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.7049, allocations: 1.094 kB / 0.6951 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.706, allocations: 425.7 kB / 0.6955 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.7062, allocations: 130.7 kB / 0.6956 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.7063, allocations: 11.86 kB / 0.6956 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.7066, allocations: 17.03 kB / 0.6957 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.7067, allocations: 28.53 kB / 0.6957 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.7067, allocations: 5.312 kB / 0.6957 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003777/0.7071, allocations: 237.7 kB / 0.6959 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7071, allocations: 3.938 kB / 0.6959 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007121/0.7078, allocations: 128.3 kB / 0.696 GB, free: 8.027 MB / 0.5261 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.001305/0.7092, allocations: 0.9699 MB / 0.697 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.7103, allocations: 326.4 kB / 0.6973 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7103, allocations: 0 / 0.6973 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.7106, allocations: 100.4 kB / 0.6974 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.7114, allocations: 73.2 kB / 0.6975 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.7168, allocations: 2.923 MB / 0.7003 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.7172, allocations: 0.7998 MB / 0.7011 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003937/0.7176, allocations: 42.88 kB / 0.7011 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.7179, allocations: 125.3 kB / 0.7013 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/0.7179, allocations: 4 kB / 0.7013 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.7495, allocations: 6.345 MB / 0.7075 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.7498, allocations: 188 kB / 0.7076 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.482, allocations: 1.094 kB / 0.7076 GB, free: 1.363 MB / 0.5261 GB