Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.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.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01129/0.01129, allocations: 107.6 kB / 15.05 MB, free: 5.934 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.001299/0.001298, allocations: 182.3 kB / 15.94 MB, free: 5.898 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.934/1.934, allocations: 194.5 MB / 211.2 MB, free: 11.26 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.314/2.314, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007451/0.0007451, allocations: 15.98 kB / 0.5871 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7791, allocations: 98.72 MB / 0.6835 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/1.04, allocations: 128.5 MB / 0.8089 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/1.04, allocations: 79.95 kB / 0.809 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1068/1.147, allocations: 23.18 MB / 0.8317 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.484e-06/1.147, allocations: 224 / 0.8317 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001468/1.148, allocations: 31.94 kB / 0.8317 GB, free: 6.324 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004752/1.152, allocations: 1.445 MB / 0.8331 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.152, allocations: 12.02 kB / 0.8331 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004137/1.153, allocations: 122.7 kB / 0.8332 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000429/1.153, allocations: 142.2 kB / 0.8334 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/1.156, allocations: 0.7965 MB / 0.8341 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/1.156, allocations: 61.94 kB / 0.8342 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/1.156, allocations: 80 kB / 0.8343 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/1.159, allocations: 1.015 MB / 0.8353 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/1.159, allocations: 3.938 kB / 0.8353 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.159, allocations: 35.98 kB / 0.8353 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/1.159, allocations: 20 kB / 0.8353 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/1.163, allocations: 0.7729 MB / 0.8361 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007861/1.17, allocations: 3.466 MB / 0.8395 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004499/1.175, allocations: 1.022 MB / 0.8405 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/1.175, allocations: 8.562 kB / 0.8405 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/1.177, allocations: 439 kB / 0.8409 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 4.208e-06/1.177, allocations: 7.938 kB / 0.8409 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.004795/1.182, allocations: 1.109 MB / 0.842 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/1.182, allocations: 372.4 kB / 0.8423 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/1.184, allocations: 0.841 MB / 0.8432 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002701/1.184, allocations: 45.7 kB / 0.8432 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/1.185, allocations: 0.4978 MB / 0.8437 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/1.185, allocations: 232.5 kB / 0.8439 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/1.185, allocations: 16 kB / 0.8439 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.186, allocations: 345.8 kB / 0.8443 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.187, allocations: 313.8 kB / 0.8445 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/1.189, allocations: 481.1 kB / 0.845 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.19, allocations: 354.4 kB / 0.8453 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.19, allocations: 0 / 0.8453 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003484/1.194, allocations: 0.8902 MB / 0.8462 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/1.194, allocations: 461.4 kB / 0.8467 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.194, allocations: 0 / 0.8467 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.194, allocations: 4 kB / 0.8467 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.196, allocations: 175.8 kB / 0.8468 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/1.196, allocations: 11.98 kB / 0.8468 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.197, allocations: 135.2 kB / 0.847 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.197, allocations: 27.94 kB / 0.847 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.197, allocations: 5.25 kB / 0.847 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001899/1.199, allocations: 0.5699 MB / 0.8476 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.199, allocations: 3.984 kB / 0.8476 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.199, allocations: 7.953 kB / 0.8476 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.2, allocations: 131.8 kB / 0.8477 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.201, allocations: 4 kB / 0.8477 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.202, allocations: 103.3 kB / 0.8478 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/1.202, allocations: 20 kB / 0.8478 GB, free: 5.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (83): * Single equations (assignments): 83 * 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.0008224/1.203, allocations: 316.9 kB / 0.8481 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/1.203, allocations: 118.5 kB / 0.8482 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/1.204, allocations: 131.7 kB / 0.8484 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.204, allocations: 8 kB / 0.8484 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.204, allocations: 0 / 0.8484 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.204, allocations: 3.984 kB / 0.8484 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/1.205, allocations: 0.9423 MB / 0.8493 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.205, allocations: 4 kB / 0.8493 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.207, allocations: 147.8 kB / 0.8494 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/1.207, allocations: 11.98 kB / 0.8494 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.207, allocations: 16 kB / 0.8495 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/1.207, allocations: 7.953 kB / 0.8495 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.207, allocations: 0 / 0.8495 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/1.212, allocations: 1.278 MB / 0.8507 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/1.213, allocations: 271.4 kB / 0.851 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.213, allocations: 16 kB / 0.851 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.215, allocations: 91.92 kB / 0.8511 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/1.215, allocations: 48.45 kB / 0.8511 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/1.215, allocations: 19.98 kB / 0.8511 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001471/1.216, allocations: 0.6621 MB / 0.8518 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.9e-07/1.216, allocations: 0 / 0.8518 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001304/1.218, allocations: 339.1 kB / 0.8521 GB, free: 0.7461 MB / 0.6667 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 (68): * Single equations (assignments): 66 * 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.005171/1.223, allocations: 1.861 MB / 0.8539 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004187/1.227, allocations: 1.066 MB / 0.855 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.227, allocations: 0 / 0.855 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/1.229, allocations: 391.3 kB / 0.8553 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.231, allocations: 327.3 kB / 0.8557 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.25, allocations: 7.176 MB / 0.8627 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/1.251, allocations: 1.081 MB / 0.8637 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001132/1.252, allocations: 143.8 kB / 0.8639 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009807/1.253, allocations: 447.4 kB / 0.8643 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/1.253, allocations: 4 kB / 0.8643 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07494/1.328, allocations: 22.35 MB / 0.8861 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/1.328, allocations: 189.8 kB / 0.8863 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.474/4.802, allocations: 3.938 kB / 0.8863 GB, free: 13.61 MB / 0.7136 GB