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 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.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 loadModel(Buildings): time 4.024/4.024, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.111e-05/5.109e-05, allocations: 13.41 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2343, allocations: 98.75 MB / 0.6289 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/0.4883, allocations: 127.7 MB / 0.7537 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/0.4887, allocations: 79.95 kB / 0.7537 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.128/0.6167, allocations: 22.96 MB / 0.7762 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.318e-06/0.6168, allocations: 4 kB / 0.7762 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001373/0.6169, allocations: 27.98 kB / 0.7762 GB, free: 2.008 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.003481/0.6204, allocations: 1.251 MB / 0.7774 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.6205, allocations: 8.031 kB / 0.7774 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.6211, allocations: 150.2 kB / 0.7776 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5716/1.193, allocations: 0.7762 MB / 0.7783 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.832e-05/1.193, allocations: 23.75 kB / 0.7784 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/1.193, allocations: 47.34 kB / 0.7784 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001706/1.195, allocations: 0.5202 MB / 0.7789 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/1.197, allocations: 0.8082 MB / 0.7797 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.197, allocations: 3.953 kB / 0.7797 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.197, allocations: 3.562 kB / 0.7797 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/1.197, allocations: 17.28 kB / 0.7797 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006769/1.204, allocations: 3.292 MB / 0.7829 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/1.206, allocations: 0.7181 MB / 0.7836 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/1.207, allocations: 251.4 kB / 0.7839 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.207, allocations: 12.8 kB / 0.7839 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/1.208, allocations: 318.1 kB / 0.7842 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 4.899e-06/1.208, allocations: 0 / 0.7842 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.002159/1.211, allocations: 0.572 MB / 0.7848 GB, free: 133 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.211, allocations: 376.1 kB / 0.7851 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.212, allocations: 0.6759 MB / 0.7858 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.213, allocations: 30.83 kB / 0.7858 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/1.213, allocations: 0.5154 MB / 0.7863 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/1.214, allocations: 219.1 kB / 0.7865 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/1.214, allocations: 1.188 kB / 0.7865 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.214, allocations: 330.9 kB / 0.7868 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/1.215, allocations: 205.4 kB / 0.787 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.216, allocations: 369.2 kB / 0.7874 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000861/1.217, allocations: 240.7 kB / 0.7876 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.217, allocations: 3.438 kB / 0.7876 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002378/1.219, allocations: 0.6317 MB / 0.7882 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.219, allocations: 457.4 kB / 0.7887 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.219, allocations: 4.281 kB / 0.7887 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/1.219, allocations: 4.922 kB / 0.7887 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.221, allocations: 172.7 kB / 0.7888 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.221, allocations: 4.734 kB / 0.7888 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/1.223, allocations: 106 kB / 0.7889 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/1.223, allocations: 23.48 kB / 0.789 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.223, allocations: 3.406 kB / 0.789 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/1.225, allocations: 475.8 kB / 0.7894 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.225, allocations: 5 kB / 0.7894 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.226, allocations: 5.297 kB / 0.7894 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.227, allocations: 129.8 kB / 0.7896 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.227, allocations: 6.953 kB / 0.7896 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.229, allocations: 70.7 kB / 0.7896 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.672e-05/1.229, allocations: 23 kB / 0.7896 GB, free: 131 MB / 0.6511 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 () * 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.000343/1.229, allocations: 128.5 kB / 0.7898 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002005/1.231, allocations: 0.5653 MB / 0.7903 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/1.231, allocations: 105.6 kB / 0.7904 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/1.232, allocations: 107.8 kB / 0.7905 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.232, allocations: 11.91 kB / 0.7905 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.232, allocations: 0 / 0.7905 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.232, allocations: 8.125 kB / 0.7905 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/1.234, allocations: 0.8391 MB / 0.7914 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.234, allocations: 2.875 kB / 0.7914 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.236, allocations: 153.4 kB / 0.7915 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/1.236, allocations: 1.625 kB / 0.7915 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/1.236, allocations: 8.094 kB / 0.7915 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.236, allocations: 2.406 kB / 0.7915 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.236, allocations: 2.828 kB / 0.7915 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/1.239, allocations: 0.9329 MB / 0.7924 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/1.24, allocations: 257.8 kB / 0.7927 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/1.241, allocations: 6.922 kB / 0.7927 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.242, allocations: 74.72 kB / 0.7928 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.242, allocations: 49.5 kB / 0.7928 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/1.243, allocations: 16.34 kB / 0.7928 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001416/1.244, allocations: 0.5271 MB / 0.7933 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.244, allocations: 0 / 0.7933 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001891/1.246, allocations: 322.7 kB / 0.7936 GB, free: 130.1 MB / 0.6511 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) * 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.00561/1.252, allocations: 1.491 MB / 0.7951 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003147/1.255, allocations: 0.839 MB / 0.7959 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.255, allocations: 0 / 0.7959 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.256, allocations: 281 kB / 0.7962 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.259, allocations: 302.5 kB / 0.7965 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/1.265, allocations: 1.471 MB / 0.7979 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/1.266, allocations: 1.083 MB / 0.799 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002207/1.268, allocations: 208 kB / 0.7992 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.269, allocations: 416.7 kB / 0.7996 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/1.269, allocations: 3.938 kB / 0.7996 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08622/1.355, allocations: 21.4 MB / 0.8205 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.356, allocations: 149.6 kB / 0.8206 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/4.654, allocations: 0 / 0.8206 GB, free: 118.3 MB / 0.6511 GB