Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.635/2.635, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.00144, allocations: 185.1 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.337/2.337, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001012, allocations: 96.7 kB / 0.7434 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008493/0.0008496, allocations: 13.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2143, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001654/0.216, allocations: 1.389 MB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2175, allocations: 1.207 MB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.2178, allocations: 8 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.15e-05/0.2178, allocations: 39.58 kB / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.2182, allocations: 67.72 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.2184, allocations: 99.91 kB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.2188, allocations: 281.4 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.2191, allocations: 187 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2192, allocations: 107.4 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2194, allocations: 135.1 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.2194, allocations: 12 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-05/0.2195, allocations: 12 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.2195, allocations: 55.69 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.2196, allocations: 85.52 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.22, allocations: 455 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.621e-06/0.22, allocations: 0 / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.22, allocations: 0 / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.22, allocations: 0 / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001055/0.2211, allocations: 0.6977 MB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2212, allocations: 8.031 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.2213, allocations: 47.44 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.2218, allocations: 355.1 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2218, allocations: 32.94 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.2219, allocations: 47.91 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.2227, allocations: 395 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2227, allocations: 0 / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.2227, allocations: 16 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.2228, allocations: 12 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.2235, allocations: 287.8 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.2256, allocations: 1.343 MB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.2263, allocations: 254.8 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2264, allocations: 4 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2264, allocations: 30.56 kB / 0.9862 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 2.997e-06/0.2264, allocations: 4 kB / 0.9862 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0007828/0.2272, allocations: 302.5 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2273, allocations: 106.8 kB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.2278, allocations: 417.5 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2278, allocations: 33.64 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.228, allocations: 255.8 kB / 0.9873 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.2281, allocations: 63.09 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.2281, allocations: 4 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.2282, allocations: 350.8 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.2285, allocations: 99.95 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.2288, allocations: 210.8 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.2291, allocations: 127.8 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.534e-06/0.2291, allocations: 3.938 kB / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007738/0.2299, allocations: 358.7 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.2301, allocations: 0.7899 MB / 0.9892 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.068e-06/0.2301, allocations: 8 kB / 0.9892 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2302, allocations: 4 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.2305, allocations: 67.89 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.721e-06/0.2305, allocations: 4 kB / 0.9893 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.2308, allocations: 55.58 kB / 0.9893 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.2309, allocations: 16 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.945e-06/0.2309, allocations: 5.25 kB / 0.9894 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004284/0.2313, allocations: 239.5 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.492e-06/0.2313, allocations: 0 / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.073e-06/0.2314, allocations: 7.953 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.2316, allocations: 55.92 kB / 0.9896 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.2e-06/0.2316, allocations: 4 kB / 0.9896 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2318, allocations: 47.89 kB / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.2319, allocations: 12 kB / 0.9897 GB, free: 16.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002056/0.2321, allocations: 238 kB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.743e-05/0.2322, allocations: 39.53 kB / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.2322, allocations: 35.61 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2323, allocations: 7.953 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.218e-06/0.2323, allocations: 0 / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.563e-06/0.2323, allocations: 4 kB / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.2335, allocations: 0.7106 MB / 0.9907 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.783e-06/0.2336, allocations: 7.938 kB / 0.9907 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2338, allocations: 47.92 kB / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.252e-06/0.2338, allocations: 0 / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.2338, allocations: 0 / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.709e-06/0.2339, allocations: 4 kB / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.368e-06/0.2339, allocations: 0 / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.2347, allocations: 469.5 kB / 0.9912 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.2348, allocations: 116.7 kB / 0.9913 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.2348, allocations: 4 kB / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.2351, allocations: 27.98 kB / 0.9914 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.2351, allocations: 11.92 kB / 0.9914 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.2351, allocations: 8 kB / 0.9914 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004052/0.2356, allocations: 295.1 kB / 0.9917 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.33e-07/0.2356, allocations: 0 / 0.9917 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006538/0.2362, allocations: 127.4 kB / 0.9918 GB, free: 14.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001399/0.2364, allocations: 115.1 kB / 0.9919 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008833/0.2373, allocations: 361.2 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.751e-06/0.2373, allocations: 0 / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.2376, allocations: 96.89 kB / 0.9923 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.2381, allocations: 59.22 kB / 0.9924 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.2401, allocations: 0.7888 MB / 0.9931 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.2406, allocations: 0.8077 MB / 0.9939 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004117/0.241, allocations: 47.39 kB / 0.994 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2412, allocations: 27.44 kB / 0.994 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.389e-06/0.2412, allocations: 0 / 0.994 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.01413/0.2554, allocations: 3.03 MB / 0.997 GB, free: 8.957 MB / 0.6198 GB