Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",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.01666/0.01666, allocations: 108.5 kB / 15.06 MB, free: 6.031 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.001849/0.001849, allocations: 179.4 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 2.248/2.248, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.261/2.261, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006825, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6608, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005429/0.6663, allocations: 3.562 MB / 0.6869 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.6708, allocations: 1.432 MB / 0.6883 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.6721, allocations: 26.59 kB / 0.6883 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.6724, allocations: 64.38 kB / 0.6884 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.6738, allocations: 234.2 kB / 0.6886 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.6763, allocations: 0.5234 MB / 0.6891 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002744/0.679, allocations: 0.755 MB / 0.6899 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/0.68, allocations: 337.2 kB / 0.6902 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.6811, allocations: 362.3 kB / 0.6905 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.6817, allocations: 332.5 kB / 0.6908 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.6819, allocations: 25.44 kB / 0.6909 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.682, allocations: 25.62 kB / 0.6909 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.6822, allocations: 133.5 kB / 0.691 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.6824, allocations: 170.1 kB / 0.6912 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.6838, allocations: 0.7756 MB / 0.6919 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6838, allocations: 0 / 0.6919 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6838, allocations: 1.094 kB / 0.6919 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.6838, allocations: 0 / 0.6919 GB, free: 11.42 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00367/0.6875, allocations: 1.214 MB / 0.6931 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.6876, allocations: 10.16 kB / 0.6931 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002918/0.6879, allocations: 106.4 kB / 0.6932 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.6882, allocations: 120 kB / 0.6933 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.6902, allocations: 0.6881 MB / 0.694 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.6904, allocations: 78.34 kB / 0.6941 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.6906, allocations: 72.62 kB / 0.6942 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.6931, allocations: 0.6922 MB / 0.6948 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.6931, allocations: 0 / 0.6948 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6932, allocations: 30.69 kB / 0.6949 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.6933, allocations: 16.67 kB / 0.6949 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.6952, allocations: 0.5169 MB / 0.6954 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005963/0.7012, allocations: 2.082 MB / 0.6974 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.704, allocations: 0.6537 MB / 0.6981 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.7041, allocations: 10.06 kB / 0.6981 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.7052, allocations: 320.2 kB / 0.6984 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=59): time 4.018e-06/0.7052, allocations: 0 / 0.6984 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59): time 0.002799/0.708, allocations: 0.7626 MB / 0.6991 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.7081, allocations: 83.17 kB / 0.6992 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.7096, allocations: 0.7122 MB / 0.6999 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.7098, allocations: 37.45 kB / 0.6999 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.7102, allocations: 430.4 kB / 0.7003 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.7104, allocations: 192.3 kB / 0.7005 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.7105, allocations: 15.16 kB / 0.7005 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.7106, allocations: 334.4 kB / 0.7009 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.7114, allocations: 202.2 kB / 0.7011 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/0.7123, allocations: 287.5 kB / 0.7013 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.7132, allocations: 232.8 kB / 0.7015 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7132, allocations: 0 / 0.7015 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002227/0.7155, allocations: 0.6371 MB / 0.7022 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.7157, allocations: 0.7035 MB / 0.7029 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7157, allocations: 2.656 kB / 0.7029 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.7157, allocations: 8.797 kB / 0.7029 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.717, allocations: 148.7 kB / 0.703 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.7171, allocations: 6.625 kB / 0.703 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.7179, allocations: 68.44 kB / 0.7031 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.718, allocations: 22.23 kB / 0.7031 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.718, allocations: 4.062 kB / 0.7031 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.7194, allocations: 488.4 kB / 0.7036 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7194, allocations: 2.188 kB / 0.7036 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7194, allocations: 5.594 kB / 0.7036 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.7205, allocations: 128.7 kB / 0.7037 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.7205, allocations: 3.938 kB / 0.7037 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.7213, allocations: 66.64 kB / 0.7038 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.7213, allocations: 17.84 kB / 0.7038 GB, free: 3.961 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0005848/0.7219, allocations: 296.2 kB / 0.7041 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.7222, allocations: 90.16 kB / 0.7042 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.7224, allocations: 100.7 kB / 0.7043 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.7224, allocations: 5.812 kB / 0.7043 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.7225, allocations: 3.938 kB / 0.7043 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7225, allocations: 11.92 kB / 0.7043 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.7261, allocations: 1.422 MB / 0.7057 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7262, allocations: 0 / 0.7057 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.7273, allocations: 103.6 kB / 0.7058 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.7273, allocations: 2.781 kB / 0.7058 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.7274, allocations: 16.48 kB / 0.7058 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.7274, allocations: 1.219 kB / 0.7058 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7275, allocations: 5.188 kB / 0.7058 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.7305, allocations: 0.9608 MB / 0.7067 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.7311, allocations: 217.7 kB / 0.7069 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.7312, allocations: 16.03 kB / 0.7069 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.7321, allocations: 41.81 kB / 0.707 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.7322, allocations: 33.27 kB / 0.707 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/0.7323, allocations: 19.95 kB / 0.707 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009833/0.7333, allocations: 0.4916 MB / 0.7075 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7333, allocations: 0 / 0.7075 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00123/0.7346, allocations: 268.1 kB / 0.7078 GB, free: 1.363 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003221/0.7378, allocations: 1.526 MB / 0.7093 GB, free: 276 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.7405, allocations: 0.7653 MB / 0.71 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7406, allocations: 1.25 kB / 0.71 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.7416, allocations: 267.4 kB / 0.7103 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.7435, allocations: 211.7 kB / 0.7105 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007204/0.7508, allocations: 3.259 MB / 0.7136 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.7517, allocations: 1.002 MB / 0.7146 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001109/0.7529, allocations: 112.6 kB / 0.7147 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009495/0.7538, allocations: 340.8 kB / 0.7151 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/0.7539, allocations: 0 / 0.7151 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/0.8128, allocations: 15.65 MB / 0.7303 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/0.8132, allocations: 191.1 kB / 0.7305 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/4.07, allocations: 3.938 kB / 0.7305 GB, free: 13.68 MB / 0.5573 GB