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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.602/4.602, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.631e-05/4.648e-05, allocations: 6.531 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2191, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2826/0.5018, allocations: 128.4 MB / 0.7601 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/0.5022, allocations: 79.95 kB / 0.7602 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6468/1.149, allocations: 23.12 MB / 0.7828 GB, free: 134 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/1.149, allocations: 0 / 0.7828 GB, free: 134 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001471/1.149, allocations: 32.06 kB / 0.7828 GB, free: 134 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.003433/1.153, allocations: 1.244 MB / 0.784 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/1.153, allocations: 9.094 kB / 0.784 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003205/1.153, allocations: 122.7 kB / 0.7841 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/1.154, allocations: 146.2 kB / 0.7843 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.156, allocations: 0.7861 MB / 0.7851 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/1.156, allocations: 58.41 kB / 0.7851 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/1.156, allocations: 83.11 kB / 0.7852 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/1.159, allocations: 0.9147 MB / 0.7861 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/1.159, allocations: 1.062 kB / 0.7861 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.159, allocations: 34.41 kB / 0.7861 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/1.159, allocations: 18.56 kB / 0.7861 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/1.161, allocations: 0.5776 MB / 0.7867 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007997/1.169, allocations: 3.464 MB / 0.7901 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/1.171, allocations: 0.7518 MB / 0.7908 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007159/1.172, allocations: 267.7 kB / 0.7911 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-05/1.172, allocations: 10.81 kB / 0.7911 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009468/1.173, allocations: 347.1 kB / 0.7914 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 3.907e-06/1.173, allocations: 0 / 0.7914 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.002031/1.175, allocations: 0.6073 MB / 0.792 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.175, allocations: 373.7 kB / 0.7924 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/1.177, allocations: 0.8318 MB / 0.7932 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/1.178, allocations: 41.33 kB / 0.7932 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007556/1.179, allocations: 0.5032 MB / 0.7937 GB, free: 130 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/1.179, allocations: 235.9 kB / 0.7939 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/1.179, allocations: 12.28 kB / 0.7939 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.179, allocations: 344.1 kB / 0.7943 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/1.18, allocations: 213 kB / 0.7945 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/1.181, allocations: 383.9 kB / 0.7948 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/1.181, allocations: 241.8 kB / 0.7951 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/1.181, allocations: 5.688 kB / 0.7951 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002073/1.184, allocations: 0.6918 MB / 0.7957 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.184, allocations: 456.1 kB / 0.7962 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.184, allocations: 2.016 kB / 0.7962 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/1.184, allocations: 8.594 kB / 0.7962 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/1.185, allocations: 173.8 kB / 0.7964 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/1.185, allocations: 5.016 kB / 0.7964 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.187, allocations: 132.7 kB / 0.7965 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/1.187, allocations: 31.48 kB / 0.7965 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.187, allocations: 4.422 kB / 0.7965 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/1.189, allocations: 0.5276 MB / 0.797 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.189, allocations: 4.922 kB / 0.797 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.189, allocations: 7.562 kB / 0.7971 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.19, allocations: 129.7 kB / 0.7972 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.19, allocations: 4.828 kB / 0.7972 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/1.191, allocations: 94.17 kB / 0.7973 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/1.191, allocations: 24.23 kB / 0.7973 GB, free: 128.6 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.0003325/1.192, allocations: 151.6 kB / 0.7974 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/1.192, allocations: 122.5 kB / 0.7976 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/1.192, allocations: 133.9 kB / 0.7977 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.192, allocations: 7.438 kB / 0.7977 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.192, allocations: 0 / 0.7977 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.192, allocations: 4.094 kB / 0.7977 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/1.194, allocations: 0.9444 MB / 0.7986 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.194, allocations: 1.094 kB / 0.7986 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.196, allocations: 159.4 kB / 0.7988 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.196, allocations: 3.688 kB / 0.7988 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/1.196, allocations: 16.16 kB / 0.7988 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/1.196, allocations: 10.33 kB / 0.7988 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.196, allocations: 1.375 kB / 0.7988 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/1.198, allocations: 0.985 MB / 0.7998 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006476/1.199, allocations: 272.6 kB / 0.8 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/1.199, allocations: 17.91 kB / 0.8 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.201, allocations: 84.19 kB / 0.8001 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.201, allocations: 48.84 kB / 0.8002 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/1.201, allocations: 19.53 kB / 0.8002 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001379/1.202, allocations: 0.657 MB / 0.8008 GB, free: 127.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.81e-07/1.202, allocations: 0 / 0.8008 GB, free: 127.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001502/1.204, allocations: 334 kB / 0.8011 GB, free: 127.7 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.002938/1.207, allocations: 1.569 MB / 0.8027 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002592/1.209, allocations: 0.889 MB / 0.8035 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.209, allocations: 3.812 kB / 0.8035 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007298/1.21, allocations: 294 kB / 0.8038 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.213, allocations: 328.6 kB / 0.8041 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/1.217, allocations: 1.533 MB / 0.8056 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/1.218, allocations: 1.086 MB / 0.8067 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001509/1.219, allocations: 215.2 kB / 0.8069 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/1.22, allocations: 436.6 kB / 0.8073 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.183e-06/1.22, allocations: 0 / 0.8073 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06796/1.288, allocations: 23.88 MB / 0.8306 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.288, allocations: 165.5 kB / 0.8308 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.733/5.022, allocations: 7.938 kB / 0.8308 GB, free: 106.1 MB / 0.6511 GB