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.LimPIDInitialState.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.LimPIDInitialState,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.01033/0.01033, allocations: 90.2 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.001185/0.001185, allocations: 172.6 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.191/2.191, 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.409/2.409, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006488/0.000649, allocations: 18.06 kB / 0.6244 GB, free: 21.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2853, allocations: 106.2 MB / 0.7281 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.004323/0.2897, allocations: 2.327 MB / 0.7304 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.2924, allocations: 0.8551 MB / 0.7312 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.2929, allocations: 11.94 kB / 0.7312 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.293, allocations: 35.58 kB / 0.7312 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.2936, allocations: 79.69 kB / 0.7313 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.294, allocations: 131.8 kB / 0.7314 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006837/0.2947, allocations: 317.4 kB / 0.7317 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.2952, allocations: 191.2 kB / 0.7319 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2954, allocations: 111.3 kB / 0.732 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2956, allocations: 139.1 kB / 0.7322 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.2957, allocations: 12 kB / 0.7322 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.2957, allocations: 12 kB / 0.7322 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.2958, allocations: 63.62 kB / 0.7323 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.2959, allocations: 89.45 kB / 0.7323 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.2965, allocations: 459 kB / 0.7328 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.2966, allocations: 0 / 0.7328 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2966, allocations: 4 kB / 0.7328 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2966, allocations: 0 / 0.7328 GB, free: 3.27 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001733/0.2983, allocations: 0.7093 MB / 0.7335 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2984, allocations: 12.02 kB / 0.7335 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.2985, allocations: 74.53 kB / 0.7336 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.2987, allocations: 63.3 kB / 0.7336 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.2994, allocations: 363.7 kB / 0.734 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.2995, allocations: 29 kB / 0.734 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.2996, allocations: 39.94 kB / 0.734 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3007, allocations: 422.4 kB / 0.7344 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3008, allocations: 0 / 0.7344 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.3008, allocations: 16 kB / 0.7344 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.3009, allocations: 8 kB / 0.7345 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3019, allocations: 315.7 kB / 0.7348 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.3054, allocations: 1.703 MB / 0.7364 GB, free: 15.33 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.3067, allocations: 294.9 kB / 0.7367 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3067, allocations: 0 / 0.7367 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.3068, allocations: 42.5 kB / 0.7367 GB, free: 14.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.3068, allocations: 3.938 kB / 0.7367 GB, free: 14.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=20): time 0.001302/0.3081, allocations: 317.4 kB / 0.737 GB, free: 14.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.3082, allocations: 106.8 kB / 0.7371 GB, free: 14.54 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/0.309, allocations: 445.8 kB / 0.7376 GB, free: 14.09 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.3091, allocations: 33.7 kB / 0.7376 GB, free: 14.05 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.3094, allocations: 255.9 kB / 0.7378 GB, free: 13.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.3095, allocations: 74.91 kB / 0.7379 GB, free: 13.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.3095, allocations: 4 kB / 0.7379 GB, free: 13.72 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3097, allocations: 350.8 kB / 0.7383 GB, free: 13.37 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.3101, allocations: 111.9 kB / 0.7384 GB, free: 13.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.3106, allocations: 197.1 kB / 0.7386 GB, free: 13.04 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.3112, allocations: 135.2 kB / 0.7387 GB, free: 12.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.3112, allocations: 4 kB / 0.7387 GB, free: 12.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00117/0.3124, allocations: 365 kB / 0.739 GB, free: 12.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.3127, allocations: 0.6084 MB / 0.7396 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3127, allocations: 7.984 kB / 0.7396 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3128, allocations: 0 / 0.7396 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.3133, allocations: 75.91 kB / 0.7397 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3133, allocations: 4 kB / 0.7397 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.3138, allocations: 63.5 kB / 0.7398 GB, free: 11.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3138, allocations: 12 kB / 0.7398 GB, free: 11.72 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3139, allocations: 7.953 kB / 0.7398 GB, free: 11.71 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006156/0.3145, allocations: 231.8 kB / 0.74 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3145, allocations: 0 / 0.74 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.3145, allocations: 4 kB / 0.74 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.315, allocations: 67.86 kB / 0.7401 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.315, allocations: 4 kB / 0.7401 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.3153, allocations: 39.67 kB / 0.7401 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.3153, allocations: 16.14 kB / 0.7401 GB, free: 11.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.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 (37): * Single equations (assignments): 37 * 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.0003129/0.3157, allocations: 236 kB / 0.7404 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/0.3158, allocations: 43.44 kB / 0.7404 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.3159, allocations: 43.8 kB / 0.7404 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.3159, allocations: 7.891 kB / 0.7405 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.3159, allocations: 11.92 kB / 0.7405 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.316, allocations: 0 / 0.7405 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.3179, allocations: 0.7543 MB / 0.7412 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3179, allocations: 8.047 kB / 0.7412 GB, free: 10.19 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.3183, allocations: 51.91 kB / 0.7413 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3183, allocations: 0 / 0.7413 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3184, allocations: 4 kB / 0.7413 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.3184, allocations: 3.984 kB / 0.7413 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3184, allocations: 4 kB / 0.7413 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.3197, allocations: 0.4947 MB / 0.7418 GB, free: 9.586 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3199, allocations: 128.5 kB / 0.7419 GB, free: 9.441 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.32, allocations: 4 kB / 0.7419 GB, free: 9.438 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.3203, allocations: 27.98 kB / 0.7419 GB, free: 9.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3204, allocations: 11.92 kB / 0.7419 GB, free: 9.398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3204, allocations: 15.95 kB / 0.7419 GB, free: 9.383 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005352/0.321, allocations: 303.1 kB / 0.7422 GB, free: 9.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/0.321, allocations: 0 / 0.7422 GB, free: 9.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007197/0.3217, allocations: 131.5 kB / 0.7423 GB, free: 8.961 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.00176/0.3235, allocations: 1.258 MB / 0.7436 GB, free: 7.652 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.3248, allocations: 378.4 kB / 0.7439 GB, free: 7.285 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3248, allocations: 4 kB / 0.7439 GB, free: 7.281 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.3252, allocations: 103.5 kB / 0.744 GB, free: 7.184 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.326, allocations: 81.5 kB / 0.7441 GB, free: 7.102 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.3325, allocations: 3.22 MB / 0.7473 GB, free: 3.793 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.3331, allocations: 0.8155 MB / 0.7481 GB, free: 2.953 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000312/0.3334, allocations: 55.42 kB / 0.7481 GB, free: 2.898 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.3337, allocations: 155.3 kB / 0.7483 GB, free: 2.746 MB / 0.573 GB Notification: Performance of SimCode: time 1.163e-06/0.3338, allocations: 0 / 0.7483 GB, free: 2.746 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.3721, allocations: 7.311 MB / 0.7554 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/0.3725, allocations: 204.5 kB / 0.7556 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.137, allocations: 0 / 0.7556 GB, free: 11.33 MB / 0.5886 GB