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/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.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.029/4.029, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.497e-05, allocations: 3.047 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.249, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2775/0.5265, allocations: 131.9 MB / 0.7635 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.5269, allocations: 75.95 kB / 0.7636 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6832/1.21, allocations: 19.31 MB / 0.7825 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.983e-06/1.21, allocations: 0 / 0.7825 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001493/1.21, allocations: 25.72 kB / 0.7825 GB, free: 134.7 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.003429/1.214, allocations: 1.054 MB / 0.7835 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.214, allocations: 10.16 kB / 0.7835 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000316/1.214, allocations: 106.5 kB / 0.7836 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/1.215, allocations: 117.6 kB / 0.7837 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/1.217, allocations: 0.7139 MB / 0.7844 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.217, allocations: 77.48 kB / 0.7845 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/1.218, allocations: 73.27 kB / 0.7846 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.22, allocations: 0.6885 MB / 0.7852 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.22, allocations: 0 / 0.7852 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/1.22, allocations: 26.66 kB / 0.7853 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/1.22, allocations: 15.59 kB / 0.7853 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.221, allocations: 470.6 kB / 0.7857 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008051/1.229, allocations: 2.147 MB / 0.7878 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/1.232, allocations: 0.5821 MB / 0.7884 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/1.232, allocations: 219.2 kB / 0.7886 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/1.232, allocations: 8.969 kB / 0.7886 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008164/1.233, allocations: 300.9 kB / 0.7889 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 3.637e-06/1.233, allocations: 0 / 0.7889 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.001623/1.235, allocations: 0.5209 MB / 0.7894 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/1.235, allocations: 139.9 kB / 0.7895 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.236, allocations: 0.6218 MB / 0.7902 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/1.237, allocations: 38.67 kB / 0.7902 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/1.237, allocations: 418.3 kB / 0.7906 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/1.237, allocations: 201.1 kB / 0.7908 GB, free: 132 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/1.237, allocations: 11.94 kB / 0.7908 GB, free: 132 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/1.238, allocations: 332.6 kB / 0.7911 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/1.238, allocations: 179.4 kB / 0.7913 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006742/1.239, allocations: 280.7 kB / 0.7916 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/1.24, allocations: 206.2 kB / 0.7917 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.24, allocations: 0 / 0.7917 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001841/1.242, allocations: 0.5811 MB / 0.7923 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/1.242, allocations: 0.7099 MB / 0.793 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.242, allocations: 2.812 kB / 0.793 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/1.242, allocations: 4.922 kB / 0.793 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.244, allocations: 159 kB / 0.7932 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/1.244, allocations: 6.047 kB / 0.7932 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.245, allocations: 80.25 kB / 0.7932 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/1.245, allocations: 26.92 kB / 0.7933 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.245, allocations: 7.375 kB / 0.7933 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001355/1.246, allocations: 475.3 kB / 0.7937 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.246, allocations: 3.203 kB / 0.7937 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.246, allocations: 8.125 kB / 0.7937 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.248, allocations: 135.2 kB / 0.7939 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/1.248, allocations: 9.141 kB / 0.7939 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/1.249, allocations: 70.7 kB / 0.794 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/1.249, allocations: 18.47 kB / 0.794 GB, free: 130.7 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.0002834/1.249, allocations: 139.7 kB / 0.7941 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/1.25, allocations: 91.25 kB / 0.7942 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/1.25, allocations: 100.9 kB / 0.7943 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.25, allocations: 5.719 kB / 0.7943 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.25, allocations: 8.609 kB / 0.7943 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.25, allocations: 3.875 kB / 0.7943 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/1.253, allocations: 1.414 MB / 0.7957 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.253, allocations: 1.094 kB / 0.7957 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.255, allocations: 110.7 kB / 0.7958 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/1.255, allocations: 3.094 kB / 0.7958 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/1.255, allocations: 16.3 kB / 0.7958 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/1.255, allocations: 2.25 kB / 0.7958 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.255, allocations: 2.094 kB / 0.7958 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/1.257, allocations: 0.8949 MB / 0.7967 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/1.258, allocations: 226.4 kB / 0.7969 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/1.258, allocations: 12.06 kB / 0.7969 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.259, allocations: 57.53 kB / 0.797 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.259, allocations: 37.7 kB / 0.797 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/1.259, allocations: 18.31 kB / 0.797 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001057/1.26, allocations: 498.7 kB / 0.7975 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.41e-07/1.26, allocations: 5.031 kB / 0.7975 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001341/1.262, allocations: 274.9 kB / 0.7978 GB, free: 129.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.002607/1.264, allocations: 1.469 MB / 0.7992 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.266, allocations: 0.7565 MB / 0.7999 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.266, allocations: 2 kB / 0.7999 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/1.267, allocations: 251.6 kB / 0.8002 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.269, allocations: 219.8 kB / 0.8004 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/1.273, allocations: 1.285 MB / 0.8016 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/1.274, allocations: 1.006 MB / 0.8026 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001367/1.275, allocations: 161.7 kB / 0.8028 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/1.276, allocations: 332.5 kB / 0.8031 GB, free: 127 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/1.276, allocations: 0 / 0.8031 GB, free: 127 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/1.34, allocations: 18.04 MB / 0.8207 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.34, allocations: 152.4 kB / 0.8209 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.555/4.895, allocations: 3.938 kB / 0.8209 GB, free: 116.6 MB / 0.6511 GB