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.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.0109/0.0109, allocations: 107.3 kB / 15.06 MB, free: 6.035 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.001238/0.001238, allocations: 180.6 kB / 15.95 MB, free: 5.957 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.954/1.954, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.19/2.19, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007425/0.0007427, allocations: 8 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.7104, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005227/0.7157, allocations: 3.413 MB / 0.6868 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.7191, allocations: 1.282 MB / 0.688 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007349/0.7199, allocations: 27.53 kB / 0.688 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.7201, allocations: 64.53 kB / 0.6881 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009299/0.7211, allocations: 217 kB / 0.6883 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.7223, allocations: 303.8 kB / 0.6886 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.7238, allocations: 0.602 MB / 0.6892 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006432/0.7245, allocations: 301.5 kB / 0.6895 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.7249, allocations: 233.2 kB / 0.6897 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.7253, allocations: 245.1 kB / 0.6899 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.7254, allocations: 23.5 kB / 0.6899 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.7256, allocations: 22.94 kB / 0.69 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.7257, allocations: 95.33 kB / 0.6901 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.7259, allocations: 152.5 kB / 0.6902 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.7271, allocations: 0.7997 MB / 0.691 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7272, allocations: 0 / 0.691 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7272, allocations: 4 kB / 0.691 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.7272, allocations: 0 / 0.691 GB, free: 11.89 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002521/0.7298, allocations: 0.9536 MB / 0.6919 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.7298, allocations: 14.05 kB / 0.6919 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.73, allocations: 99.53 kB / 0.692 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.7302, allocations: 84.61 kB / 0.6921 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.7315, allocations: 0.5358 MB / 0.6926 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.7316, allocations: 41.53 kB / 0.6927 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.7317, allocations: 62.78 kB / 0.6927 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.7335, allocations: 0.6056 MB / 0.6933 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.7335, allocations: 1.375 kB / 0.6933 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.7336, allocations: 29.78 kB / 0.6934 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.7337, allocations: 14.53 kB / 0.6934 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.7354, allocations: 467.6 kB / 0.6938 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.74, allocations: 2.026 MB / 0.6958 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.7416, allocations: 453.4 kB / 0.6962 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.7417, allocations: 13.75 kB / 0.6962 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009022/0.7426, allocations: 269.3 kB / 0.6965 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 3.477e-06/0.7426, allocations: 0 / 0.6965 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.002183/0.7448, allocations: 0.5939 MB / 0.6971 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.7449, allocations: 58.39 kB / 0.6971 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.7457, allocations: 441.2 kB / 0.6976 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.7458, allocations: 37.34 kB / 0.6976 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.7461, allocations: 326.2 kB / 0.6979 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.7463, allocations: 168.2 kB / 0.6981 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.7463, allocations: 10.47 kB / 0.6981 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7465, allocations: 364.9 kB / 0.6984 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.7471, allocations: 169.3 kB / 0.6986 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/0.7478, allocations: 252.2 kB / 0.6988 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.7486, allocations: 228.8 kB / 0.699 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7486, allocations: 5.312 kB / 0.699 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001731/0.7503, allocations: 0.5693 MB / 0.6996 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.7505, allocations: 0.8205 MB / 0.7004 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7506, allocations: 2.75 kB / 0.7004 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.7506, allocations: 4.125 kB / 0.7004 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009139/0.7515, allocations: 117.2 kB / 0.7005 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.7516, allocations: 8.719 kB / 0.7005 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.7522, allocations: 73.58 kB / 0.7006 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.7523, allocations: 18.25 kB / 0.7006 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7523, allocations: 3.781 kB / 0.7006 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/0.7537, allocations: 0.4894 MB / 0.7011 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7538, allocations: 2.344 kB / 0.7011 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.7538, allocations: 4.625 kB / 0.7011 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.7546, allocations: 122.1 kB / 0.7012 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7546, allocations: 5.062 kB / 0.7012 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.7552, allocations: 64.22 kB / 0.7013 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.7553, allocations: 18.53 kB / 0.7013 GB, free: 5.34 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: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0004724/0.7558, allocations: 287.2 kB / 0.7016 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.7559, allocations: 57.67 kB / 0.7016 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.7561, allocations: 66.48 kB / 0.7017 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.7561, allocations: 5.719 kB / 0.7017 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.7561, allocations: 0 / 0.7017 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.7561, allocations: 3.938 kB / 0.7017 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.7588, allocations: 1.192 MB / 0.7029 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7588, allocations: 0 / 0.7029 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/0.7598, allocations: 98.56 kB / 0.703 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.7598, allocations: 6.5 kB / 0.703 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.7598, allocations: 10.47 kB / 0.703 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.7599, allocations: 3.031 kB / 0.703 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7599, allocations: 3.984 kB / 0.703 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.7621, allocations: 0.7732 MB / 0.7037 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.7624, allocations: 170.5 kB / 0.7039 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7625, allocations: 9.062 kB / 0.7039 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.763, allocations: 40.22 kB / 0.704 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.7632, allocations: 31.67 kB / 0.704 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.7632, allocations: 17.73 kB / 0.704 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005349/0.7638, allocations: 303.5 kB / 0.7043 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7638, allocations: 0 / 0.7043 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001083/0.7649, allocations: 255.8 kB / 0.7045 GB, free: 3.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.002573/0.7675, allocations: 1.343 MB / 0.7058 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.7698, allocations: 0.7787 MB / 0.7066 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7699, allocations: 1.156 kB / 0.7066 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007717/0.7707, allocations: 222.5 kB / 0.7068 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.7718, allocations: 133.9 kB / 0.7069 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.7832, allocations: 4.764 MB / 0.7116 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.784, allocations: 0.9072 MB / 0.7125 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007005/0.7847, allocations: 75.16 kB / 0.7126 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.7853, allocations: 218.5 kB / 0.7128 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.7853, allocations: 0 / 0.7128 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/0.829, allocations: 11.02 MB / 0.7235 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/0.8294, allocations: 194.2 kB / 0.7237 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/4.151, allocations: 0 / 0.7237 GB, free: 4.582 MB / 0.5417 GB