Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_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.3/package.mo): time 0.01432/0.01433, allocations: 87.36 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001716/0.001716, allocations: 171.4 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.438/2.438, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.671/2.671, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007554/0.0007557, allocations: 16.22 kB / 0.6243 GB, free: 20.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2692, allocations: 106.2 MB / 0.7281 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.006201/0.2755, allocations: 3.715 MB / 0.7317 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003883/0.2794, allocations: 1.354 MB / 0.733 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006275/0.2801, allocations: 23.88 kB / 0.7331 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.2803, allocations: 83.02 kB / 0.7331 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.2812, allocations: 183.3 kB / 0.7333 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.282, allocations: 267.7 kB / 0.7336 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.2835, allocations: 0.7216 MB / 0.7343 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.2846, allocations: 493.2 kB / 0.7347 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.285, allocations: 258.5 kB / 0.735 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.2855, allocations: 325.8 kB / 0.7353 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.2856, allocations: 28 kB / 0.7353 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.2858, allocations: 28 kB / 0.7354 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.286, allocations: 139.2 kB / 0.7355 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.2862, allocations: 185.1 kB / 0.7357 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.2879, allocations: 1.075 MB / 0.7367 GB, free: 15.21 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2879, allocations: 0 / 0.7367 GB, free: 15.21 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2879, allocations: 0 / 0.7367 GB, free: 15.21 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.2879, allocations: 4 kB / 0.7367 GB, free: 15.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005016/0.293, allocations: 1.282 MB / 0.738 GB, free: 13.87 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/0.2931, allocations: 8.031 kB / 0.738 GB, free: 13.86 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004058/0.2935, allocations: 148 kB / 0.7381 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.2939, allocations: 134.4 kB / 0.7382 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.2961, allocations: 0.6296 MB / 0.7389 GB, free: 12.91 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.2963, allocations: 82 kB / 0.7389 GB, free: 12.82 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.2966, allocations: 96 kB / 0.739 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.3007, allocations: 0.963 MB / 0.74 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.3008, allocations: 4 kB / 0.74 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.301, allocations: 40 kB / 0.74 GB, free: 11.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.3011, allocations: 24 kB / 0.74 GB, free: 11.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.3051, allocations: 0.6987 MB / 0.7407 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.3181, allocations: 3.581 MB / 0.7442 GB, free: 7.262 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.3216, allocations: 0.7305 MB / 0.7449 GB, free: 6.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.982e-05/0.3217, allocations: 8.656 kB / 0.7449 GB, free: 6.512 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.3236, allocations: 368.3 kB / 0.7453 GB, free: 6.145 MB / 0.573 GB Notification: Performance of pre-optimization done (n=74): time 5.761e-06/0.3236, allocations: 0 / 0.7453 GB, free: 6.145 MB / 0.573 GB Notification: Performance of matching and sorting (n=74): time 0.004906/0.3286, allocations: 0.8795 MB / 0.7461 GB, free: 5.258 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.3287, allocations: 162.9 kB / 0.7463 GB, free: 5.062 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.3308, allocations: 0.6765 MB / 0.747 GB, free: 4.375 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.331, allocations: 45.64 kB / 0.747 GB, free: 4.324 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007131/0.3317, allocations: 483.8 kB / 0.7475 GB, free: 3.844 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/0.3322, allocations: 252.3 kB / 0.7477 GB, free: 3.594 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.3323, allocations: 16 kB / 0.7477 GB, free: 3.578 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3325, allocations: 334 kB / 0.748 GB, free: 3.246 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.3342, allocations: 253.9 kB / 0.7483 GB, free: 3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.3362, allocations: 407.6 kB / 0.7487 GB, free: 2.555 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.338, allocations: 302.8 kB / 0.749 GB, free: 2.258 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3381, allocations: 0 / 0.749 GB, free: 2.258 MB / 0.573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003697/0.3418, allocations: 0.7816 MB / 0.7497 GB, free: 1.473 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.3423, allocations: 0.6084 MB / 0.7503 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3423, allocations: 4 kB / 0.7503 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.3424, allocations: 8 kB / 0.7503 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.3442, allocations: 171.7 kB / 0.7505 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/0.3442, allocations: 4 kB / 0.7505 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.3458, allocations: 115.2 kB / 0.7506 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.346, allocations: 24 kB / 0.7506 GB, free: 0.4961 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.346, allocations: 7.953 kB / 0.7506 GB, free: 500 kB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001515/0.3475, allocations: 0.5584 MB / 0.7512 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3475, allocations: 0 / 0.7512 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3476, allocations: 8 kB / 0.7512 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009687/0.3485, allocations: 139.8 kB / 0.7513 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3486, allocations: 4 kB / 0.7513 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.3492, allocations: 95.19 kB / 0.7514 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.3493, allocations: 28.09 kB / 0.7514 GB, free: 15.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,$whenCondition1,limPIDInp.trigger,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0005934/0.3499, allocations: 312.9 kB / 0.7517 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3501, allocations: 90.86 kB / 0.7518 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.3503, allocations: 92.8 kB / 0.7519 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.3503, allocations: 8 kB / 0.7519 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3504, allocations: 0 / 0.7519 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3504, allocations: 3.984 kB / 0.7519 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.3545, allocations: 1.667 MB / 0.7536 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.3545, allocations: 3.984 kB / 0.7536 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.3557, allocations: 139.8 kB / 0.7537 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.3558, allocations: 4 kB / 0.7537 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.3559, allocations: 19.98 kB / 0.7537 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.3559, allocations: 4 kB / 0.7537 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3559, allocations: 0 / 0.7537 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.3592, allocations: 1.1 MB / 0.7548 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.3595, allocations: 175.8 kB / 0.755 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3597, allocations: 12.19 kB / 0.755 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006319/0.3603, allocations: 51.97 kB / 0.755 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3605, allocations: 44.53 kB / 0.7551 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.3605, allocations: 23.98 kB / 0.7551 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009687/0.3615, allocations: 471 kB / 0.7555 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3615, allocations: 0 / 0.7555 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00116/0.3627, allocations: 342.2 kB / 0.7559 GB, free: 11.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.00374/0.3665, allocations: 1.672 MB / 0.7575 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002992/0.3695, allocations: 0.9427 MB / 0.7584 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3695, allocations: 0 / 0.7584 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.3706, allocations: 336.2 kB / 0.7587 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.3721, allocations: 189.5 kB / 0.7589 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.3855, allocations: 6.04 MB / 0.7648 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000861/0.3864, allocations: 1.041 MB / 0.7658 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006835/0.3871, allocations: 102.3 kB / 0.7659 GB, free: 484 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/0.3879, allocations: 399.3 kB / 0.7663 GB, free: 84 kB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.3879, allocations: 0 / 0.7663 GB, free: 84 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05531/0.4432, allocations: 15.64 MB / 0.7816 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/0.4437, allocations: 205 kB / 0.7818 GB, free: 400 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/3.857, allocations: 0 / 0.7818 GB, free: 400 kB / 0.6042 GB