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.LimPID.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.LimPID,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_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.3/package.mo): time 0.01367/0.01368, allocations: 89.77 kB / 15.04 MB, free: 5.582 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.001674/0.001674, allocations: 179 kB / 15.92 MB, free: 5.555 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.198/2.198, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.451/2.451, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004834, allocations: 15.78 kB / 0.6244 GB, free: 21.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2329, allocations: 106.2 MB / 0.7281 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.01072/0.2437, allocations: 4.67 MB / 0.7327 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02898/0.2727, allocations: 1.721 MB / 0.7343 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01015/0.2829, allocations: 35.88 kB / 0.7344 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.2837, allocations: 110.7 kB / 0.7345 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008892/0.2926, allocations: 251 kB / 0.7347 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.2947, allocations: 371.6 kB / 0.7351 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01372/0.3085, allocations: 0.9182 MB / 0.736 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/0.3121, allocations: 497.9 kB / 0.7364 GB, free: 15.49 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/0.3131, allocations: 342 kB / 0.7368 GB, free: 15.16 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008834/0.314, allocations: 397.4 kB / 0.7371 GB, free: 14.77 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.3143, allocations: 40 kB / 0.7372 GB, free: 14.73 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3145, allocations: 32 kB / 0.7372 GB, free: 14.7 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.3148, allocations: 175.1 kB / 0.7374 GB, free: 14.52 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.3151, allocations: 213 kB / 0.7376 GB, free: 14.31 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.3177, allocations: 1.286 MB / 0.7388 GB, free: 13.02 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3177, allocations: 0 / 0.7388 GB, free: 13.02 MB / 0.573 GB Notification: Performance of FrontEnd: time 6.272e-06/0.3177, allocations: 0 / 0.7388 GB, free: 13.02 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.226e-05/0.3178, allocations: 3.938 kB / 0.7388 GB, free: 13.02 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.006334/0.3241, allocations: 1.533 MB / 0.7403 GB, free: 11.43 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.3242, allocations: 12.03 kB / 0.7404 GB, free: 11.41 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004678/0.3247, allocations: 152.5 kB / 0.7405 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.3251, allocations: 158.1 kB / 0.7406 GB, free: 11.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.327, allocations: 0.7424 MB / 0.7414 GB, free: 10.31 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3271, allocations: 78.08 kB / 0.7414 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.3274, allocations: 108 kB / 0.7416 GB, free: 10.13 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.3308, allocations: 1.098 MB / 0.7426 GB, free: 8.953 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.3309, allocations: 7.984 kB / 0.7426 GB, free: 8.945 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.331, allocations: 40 kB / 0.7427 GB, free: 8.906 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.3311, allocations: 32 kB / 0.7427 GB, free: 8.875 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/0.3351, allocations: 0.8782 MB / 0.7436 GB, free: 7.996 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.3482, allocations: 4.144 MB / 0.7476 GB, free: 3.715 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006307/0.3546, allocations: 1.116 MB / 0.7487 GB, free: 2.598 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.3548, allocations: 17 kB / 0.7487 GB, free: 2.582 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002322/0.3571, allocations: 453.1 kB / 0.7491 GB, free: 2.125 MB / 0.573 GB Notification: Performance of pre-optimization done (n=84): time 5.931e-06/0.3572, allocations: 0 / 0.7491 GB, free: 2.125 MB / 0.573 GB Notification: Performance of matching and sorting (n=84): time 0.006266/0.3634, allocations: 1.143 MB / 0.7503 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/0.3637, allocations: 226.6 kB / 0.7505 GB, free: 0.707 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.3663, allocations: 0.882 MB / 0.7513 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.3666, allocations: 45.7 kB / 0.7514 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008991/0.3675, allocations: 0.5392 MB / 0.7519 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005917/0.3681, allocations: 287.8 kB / 0.7522 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3683, allocations: 20 kB / 0.7522 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.3685, allocations: 334 kB / 0.7525 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.3708, allocations: 349.8 kB / 0.7529 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.3733, allocations: 0.5203 MB / 0.7534 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.3754, allocations: 390.8 kB / 0.7537 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.3755, allocations: 4 kB / 0.7537 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003967/0.3795, allocations: 0.996 MB / 0.7547 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004351/0.3799, allocations: 0.8062 MB / 0.7555 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.38, allocations: 0 / 0.7555 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.38, allocations: 8 kB / 0.7555 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.3817, allocations: 215.7 kB / 0.7557 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.3818, allocations: 4 kB / 0.7557 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3831, allocations: 171 kB / 0.7559 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3832, allocations: 32 kB / 0.7559 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3832, allocations: 4 kB / 0.7559 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/0.3854, allocations: 0.691 MB / 0.7566 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3854, allocations: 0 / 0.7566 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3854, allocations: 8 kB / 0.7566 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.3867, allocations: 176 kB / 0.7568 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.3868, allocations: 11.95 kB / 0.7568 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009876/0.3878, allocations: 119.1 kB / 0.7569 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.3879, allocations: 35.98 kB / 0.7569 GB, free: 9.934 MB / 0.5886 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * 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.0007207/0.3886, allocations: 328.9 kB / 0.7572 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.3889, allocations: 110.6 kB / 0.7573 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3892, allocations: 119.2 kB / 0.7575 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.3892, allocations: 8 kB / 0.7575 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.3892, allocations: 3.953 kB / 0.7575 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3892, allocations: 3.984 kB / 0.7575 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.3911, allocations: 0.9754 MB / 0.7584 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.3912, allocations: 0 / 0.7584 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.3928, allocations: 175.8 kB / 0.7586 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.3928, allocations: 7.938 kB / 0.7586 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.3929, allocations: 19.98 kB / 0.7586 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.3929, allocations: 8 kB / 0.7586 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.393, allocations: 0 / 0.7586 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.3981, allocations: 1.331 MB / 0.7599 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.3985, allocations: 191.5 kB / 0.7601 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.3988, allocations: 16 kB / 0.7601 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.3997, allocations: 87.92 kB / 0.7602 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.3999, allocations: 56.92 kB / 0.7603 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.4, allocations: 20 kB / 0.7603 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001332/0.4014, allocations: 0.6073 MB / 0.7609 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.81e-07/0.4014, allocations: 0 / 0.7609 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001496/0.4029, allocations: 382.3 kB / 0.7612 GB, free: 5.402 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (84): * Single equations (assignments): 82 * 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.00533/0.4083, allocations: 1.887 MB / 0.7631 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00442/0.4127, allocations: 1.205 MB / 0.7643 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.4128, allocations: 0 / 0.7643 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.4144, allocations: 422.3 kB / 0.7647 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.4163, allocations: 231.2 kB / 0.7649 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/0.437, allocations: 7.627 MB / 0.7723 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.4381, allocations: 1.105 MB / 0.7734 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00101/0.4391, allocations: 132.3 kB / 0.7735 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.4402, allocations: 467.3 kB / 0.774 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/0.4402, allocations: 0 / 0.774 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06827/0.5085, allocations: 19.77 MB / 0.7933 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/0.5088, allocations: 201.6 kB / 0.7935 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/3.909, allocations: 3.938 kB / 0.7935 GB, free: 4.168 MB / 0.6198 GB