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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.518/4.518, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.046e-05, allocations: 1.531 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.228, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/0.4731, allocations: 131.3 MB / 0.7571 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.4735, allocations: 75.95 kB / 0.7571 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08765/0.5612, allocations: 19.16 MB / 0.7759 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5612, allocations: 0 / 0.7759 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001219/0.5614, allocations: 24 kB / 0.7759 GB, free: 2.363 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002955/0.5643, allocations: 1.054 MB / 0.7769 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.5644, allocations: 8.031 kB / 0.7769 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.5649, allocations: 122.5 kB / 0.777 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.5672, allocations: 0.7068 MB / 0.7777 GB, free: 392 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.5673, allocations: 59.02 kB / 0.7778 GB, free: 328 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.5675, allocations: 43.98 kB / 0.7778 GB, free: 284 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5512/1.119, allocations: 439.9 kB / 0.7782 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.12, allocations: 0.5913 MB / 0.7788 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.12, allocations: 0 / 0.7788 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/1.12, allocations: 2.234 kB / 0.7788 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/1.121, allocations: 14.94 kB / 0.7788 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005668/1.126, allocations: 2.003 MB / 0.7808 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/1.128, allocations: 0.5591 MB / 0.7813 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/1.129, allocations: 209.6 kB / 0.7815 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/1.129, allocations: 7.547 kB / 0.7815 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000842/1.13, allocations: 292.7 kB / 0.7818 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 4.088e-06/1.13, allocations: 0 / 0.7818 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.001612/1.132, allocations: 489.7 kB / 0.7823 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/1.132, allocations: 139.5 kB / 0.7824 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/1.133, allocations: 0.5382 MB / 0.7829 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/1.133, allocations: 25.7 kB / 0.783 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/1.134, allocations: 425.6 kB / 0.7834 GB, free: 135 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.134, allocations: 190.2 kB / 0.7836 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/1.134, allocations: 0 / 0.7836 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/1.134, allocations: 331.2 kB / 0.7839 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/1.134, allocations: 168.1 kB / 0.784 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/1.135, allocations: 271.3 kB / 0.7843 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/1.136, allocations: 193 kB / 0.7845 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.136, allocations: 0 / 0.7845 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00153/1.137, allocations: 0.5379 MB / 0.785 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/1.137, allocations: 0.705 MB / 0.7857 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.137, allocations: 6.859 kB / 0.7857 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/1.137, allocations: 4.125 kB / 0.7857 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.139, allocations: 156.4 kB / 0.7859 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/1.139, allocations: 7.031 kB / 0.7859 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.14, allocations: 63.66 kB / 0.7859 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/1.14, allocations: 19.12 kB / 0.7859 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.14, allocations: 4.219 kB / 0.7859 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/1.142, allocations: 420.2 kB / 0.7863 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.142, allocations: 2 kB / 0.7863 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.142, allocations: 6.5 kB / 0.7863 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.143, allocations: 144.2 kB / 0.7865 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.143, allocations: 8.078 kB / 0.7865 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/1.144, allocations: 51.86 kB / 0.7865 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/1.144, allocations: 24.53 kB / 0.7866 GB, free: 133.6 MB / 0.6511 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,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDInp.trigger,limPIDDef.I.trigger_internal) * Number of discrete 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.0002759/1.145, allocations: 115 kB / 0.7867 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001541/1.146, allocations: 485.4 kB / 0.7871 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/1.147, allocations: 86.55 kB / 0.7872 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/1.147, allocations: 92.66 kB / 0.7873 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.147, allocations: 5.5 kB / 0.7873 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.147, allocations: 2.062 kB / 0.7873 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/1.147, allocations: 4.359 kB / 0.7873 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/1.151, allocations: 1.288 MB / 0.7886 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.151, allocations: 0 / 0.7886 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.152, allocations: 112 kB / 0.7887 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/1.152, allocations: 2.766 kB / 0.7887 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/1.152, allocations: 11.69 kB / 0.7887 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.152, allocations: 2.406 kB / 0.7887 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.152, allocations: 3.984 kB / 0.7887 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/1.154, allocations: 0.8477 MB / 0.7895 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/1.155, allocations: 221.4 kB / 0.7897 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/1.155, allocations: 6.016 kB / 0.7898 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009724/1.156, allocations: 46.03 kB / 0.7898 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.156, allocations: 37.06 kB / 0.7898 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/1.156, allocations: 19 kB / 0.7898 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008653/1.157, allocations: 425.5 kB / 0.7903 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.157, allocations: 0 / 0.7903 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001464/1.159, allocations: 257.1 kB / 0.7905 GB, free: 132.6 MB / 0.6511 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 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulsStart) * Number of discrete 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.002285/1.161, allocations: 1.41 MB / 0.7919 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.163, allocations: 0.7106 MB / 0.7926 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.163, allocations: 0 / 0.7926 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/1.164, allocations: 230.9 kB / 0.7928 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.166, allocations: 210.4 kB / 0.793 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/1.171, allocations: 1.227 MB / 0.7942 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/1.172, allocations: 1.008 MB / 0.7952 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001633/1.173, allocations: 159.3 kB / 0.7953 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009041/1.174, allocations: 331 kB / 0.7956 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.644e-06/1.174, allocations: 0 / 0.7956 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07529/1.25, allocations: 16.42 MB / 0.8117 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/1.25, allocations: 148.5 kB / 0.8118 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/4.551, allocations: 0 / 0.8118 GB, free: 127.6 MB / 0.6511 GB