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.LimPID.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.LimPID,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPID",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.01546/0.01546, allocations: 107.4 kB / 15.06 MB, free: 6.027 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.001808/0.001808, allocations: 181.1 kB / 15.95 MB, free: 5.953 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 1.963/1.963, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.182/2.182, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005054, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6493, allocations: 98.72 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004518/0.6539, allocations: 3.021 MB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.6574, allocations: 1.197 MB / 0.6875 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007285/0.6582, allocations: 21.84 kB / 0.6876 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.6584, allocations: 46.44 kB / 0.6876 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.6594, allocations: 188.1 kB / 0.6878 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.6614, allocations: 458.2 kB / 0.6882 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.6631, allocations: 0.5752 MB / 0.6888 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/0.6638, allocations: 242.7 kB / 0.689 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.6645, allocations: 294.1 kB / 0.6893 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.6649, allocations: 251.4 kB / 0.6895 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.665, allocations: 20.72 kB / 0.6896 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.6651, allocations: 23.72 kB / 0.6896 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.6653, allocations: 107.5 kB / 0.6897 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.6654, allocations: 134.7 kB / 0.6898 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009521/0.6664, allocations: 0.5812 MB / 0.6904 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6664, allocations: 1.625 kB / 0.6904 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6664, allocations: 0 / 0.6904 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.6664, allocations: 0 / 0.6904 GB, free: 12.22 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002819/0.6693, allocations: 1.039 MB / 0.6914 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.6693, allocations: 9.938 kB / 0.6914 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.6695, allocations: 90.56 kB / 0.6915 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.6697, allocations: 94.3 kB / 0.6916 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.6711, allocations: 0.5444 MB / 0.6921 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.6713, allocations: 100.7 kB / 0.6922 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.6714, allocations: 58.27 kB / 0.6923 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.6731, allocations: 0.5704 MB / 0.6928 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.6732, allocations: 1.062 kB / 0.6928 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.6732, allocations: 16.69 kB / 0.6928 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.6733, allocations: 16.38 kB / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.6749, allocations: 438.2 kB / 0.6933 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.679, allocations: 1.912 MB / 0.6951 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.6812, allocations: 0.5244 MB / 0.6957 GB, free: 9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/0.6812, allocations: 6.328 kB / 0.6957 GB, free: 9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.6823, allocations: 291.2 kB / 0.6959 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 3.166e-06/0.6823, allocations: 0 / 0.6959 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.002496/0.6848, allocations: 0.6208 MB / 0.6965 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.6849, allocations: 87.5 kB / 0.6966 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.6859, allocations: 0.5785 MB / 0.6972 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/0.686, allocations: 38.53 kB / 0.6972 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.6863, allocations: 334.9 kB / 0.6975 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.6865, allocations: 148.9 kB / 0.6977 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.6866, allocations: 14.69 kB / 0.6977 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6867, allocations: 388.8 kB / 0.6981 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/0.6875, allocations: 180.5 kB / 0.6982 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.6883, allocations: 266.1 kB / 0.6985 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.689, allocations: 228.2 kB / 0.6987 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6891, allocations: 1.375 kB / 0.6987 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001893/0.691, allocations: 0.5876 MB / 0.6993 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.6912, allocations: 0.8189 MB / 0.7001 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.6912, allocations: 2 kB / 0.7001 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.6912, allocations: 9.156 kB / 0.7001 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008982/0.6921, allocations: 106.2 kB / 0.7002 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.6922, allocations: 12.77 kB / 0.7002 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.6928, allocations: 67.88 kB / 0.7003 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.6929, allocations: 22.78 kB / 0.7003 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.6929, allocations: 3.906 kB / 0.7003 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/0.6942, allocations: 470.3 kB / 0.7008 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6943, allocations: 5.781 kB / 0.7008 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.6943, allocations: 4.375 kB / 0.7008 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.695, allocations: 99.08 kB / 0.7009 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.695, allocations: 4 kB / 0.7009 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.6956, allocations: 54.8 kB / 0.7009 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.6956, allocations: 16.97 kB / 0.7009 GB, free: 5.668 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0004126/0.6961, allocations: 273 kB / 0.7012 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.6962, allocations: 67.59 kB / 0.7013 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.6964, allocations: 79.98 kB / 0.7013 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.6964, allocations: 5.438 kB / 0.7013 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.6964, allocations: 0 / 0.7013 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.6964, allocations: 0 / 0.7013 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.6973, allocations: 0.6081 MB / 0.7019 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6973, allocations: 0 / 0.7019 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/0.6982, allocations: 96.92 kB / 0.702 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6982, allocations: 2.781 kB / 0.702 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.6982, allocations: 10.66 kB / 0.702 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6983, allocations: 2.375 kB / 0.702 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6983, allocations: 0 / 0.702 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.7006, allocations: 0.7288 MB / 0.7028 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.7009, allocations: 191.9 kB / 0.7029 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7011, allocations: 10.75 kB / 0.7029 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.7018, allocations: 50.77 kB / 0.703 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.7019, allocations: 30.67 kB / 0.703 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.702, allocations: 17.7 kB / 0.703 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006654/0.7027, allocations: 406.2 kB / 0.7034 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7027, allocations: 0 / 0.7034 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008703/0.7036, allocations: 204.6 kB / 0.7036 GB, free: 3.867 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002646/0.7062, allocations: 1.295 MB / 0.7049 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.7086, allocations: 0.7749 MB / 0.7056 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7086, allocations: 1.188 kB / 0.7056 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007754/0.7094, allocations: 222.8 kB / 0.7059 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.7106, allocations: 163 kB / 0.706 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.7143, allocations: 2.932 MB / 0.7089 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.7149, allocations: 0.9223 MB / 0.7098 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000676/0.7156, allocations: 82.97 kB / 0.7099 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.7161, allocations: 251.8 kB / 0.7101 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of SimCode: time 1.273e-06/0.7161, allocations: 0 / 0.7101 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04592/0.7621, allocations: 12.43 MB / 0.7222 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.7623, allocations: 182.2 kB / 0.7224 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/4.012, allocations: 0 / 0.7224 GB, free: 5.906 MB / 0.5417 GB