Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 288.4 MB / 303.4 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 186.8 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009275/0.0009276, allocations: 98.39 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006334, allocations: 13.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2641, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001856/0.266, allocations: 1.365 MB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2679, allocations: 1.21 MB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.2683, allocations: 8 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.2686, allocations: 47.52 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.2689, allocations: 43.66 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2691, allocations: 99.91 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.2695, allocations: 413.1 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.2698, allocations: 183 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2699, allocations: 111.3 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.27, allocations: 131.1 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.2701, allocations: 12 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.2701, allocations: 12 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.2701, allocations: 59.64 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.2702, allocations: 89.45 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.2705, allocations: 447 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2705, allocations: 8 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2705, allocations: 0 / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2705, allocations: 0 / 0.9837 GB, free: 23.4 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.0009765/0.2715, allocations: 0.686 MB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2716, allocations: 15.97 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.2716, allocations: 51.44 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.272, allocations: 363 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.2721, allocations: 29 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.2721, allocations: 43.89 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.2728, allocations: 403 kB / 0.9852 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2728, allocations: 0 / 0.9852 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.2728, allocations: 16 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2728, allocations: 8 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.2733, allocations: 291.8 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.2749, allocations: 1.339 MB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.2754, allocations: 242.8 kB / 0.9871 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.2756, allocations: 116.8 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.2756, allocations: 4 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2757, allocations: 30.56 kB / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2757, allocations: 0 / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0005886/0.2763, allocations: 306.2 kB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2763, allocations: 110.8 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.2767, allocations: 417.5 kB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.2767, allocations: 33.69 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.2769, allocations: 259.7 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.2769, allocations: 55.2 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.2769, allocations: 4 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.277, allocations: 346.8 kB / 0.9887 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.2772, allocations: 107.9 kB / 0.9888 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.2774, allocations: 210.9 kB / 0.989 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2776, allocations: 129.2 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2777, allocations: 0 / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005078/0.2782, allocations: 354.3 kB / 0.9895 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/0.2782, allocations: 152.1 kB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2783, allocations: 3.953 kB / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2783, allocations: 4 kB / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.2785, allocations: 71.89 kB / 0.9897 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2785, allocations: 7.938 kB / 0.9897 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.2788, allocations: 63.58 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2788, allocations: 11.98 kB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-06/0.2788, allocations: 4 kB / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002777/0.2791, allocations: 232.9 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2791, allocations: 4 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.2791, allocations: 4 kB / 0.99 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2793, allocations: 51.92 kB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2793, allocations: 12.2 kB / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2795, allocations: 39.69 kB / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2795, allocations: 11.98 kB / 0.9901 GB, free: 16.52 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.0001493/0.2796, allocations: 248.8 kB / 0.9903 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.2797, allocations: 35.53 kB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.2798, allocations: 39.61 kB / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2798, allocations: 0 / 0.9904 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2798, allocations: 12 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2798, allocations: 3.984 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008501/0.2806, allocations: 0.7089 MB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2807, allocations: 0 / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.2809, allocations: 40.02 kB / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2809, allocations: 7.984 kB / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2809, allocations: 4 kB / 0.9912 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2809, allocations: 7.938 kB / 0.9912 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2809, allocations: 8.047 kB / 0.9912 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.2815, allocations: 437.1 kB / 0.9916 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.2816, allocations: 120.6 kB / 0.9917 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2816, allocations: 4 kB / 0.9917 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2818, allocations: 23.98 kB / 0.9917 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.2818, allocations: 15.94 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2819, allocations: 8 kB / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002243/0.2821, allocations: 291.1 kB / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.01e-07/0.2821, allocations: 0 / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003823/0.2825, allocations: 127.5 kB / 0.9922 GB, free: 14.29 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.0001444/0.2826, allocations: 111.2 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005721/0.2832, allocations: 361.8 kB / 0.9926 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2832, allocations: 0 / 0.9926 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.2834, allocations: 92.89 kB / 0.9927 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.2839, allocations: 74.81 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.285, allocations: 0.7758 MB / 0.9935 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2852, allocations: 0.8038 MB / 0.9943 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.2853, allocations: 43.27 kB / 0.9944 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.2854, allocations: 31.42 kB / 0.9944 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.2854, allocations: 0 / 0.9944 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.005939/0.2913, allocations: 3.039 MB / 0.9974 GB, free: 8.945 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)