Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.027/3.027, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.00168/0.00168, allocations: 182.9 kB / 370.8 MB, free: 10.86 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.368/2.368, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001605/0.001605, allocations: 96.95 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008574/0.0008584, allocations: 15.06 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2583, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002197/0.2606, allocations: 1.385 MB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2627, allocations: 1.214 MB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.2631, allocations: 8 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.493e-05/0.2632, allocations: 31.59 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.2636, allocations: 71.72 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.264, allocations: 107.9 kB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000506/0.2645, allocations: 273.4 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.2649, allocations: 179 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.2651, allocations: 107.4 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.2653, allocations: 139.1 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.2653, allocations: 12 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-05/0.2654, allocations: 12 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.2655, allocations: 55.75 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.2655, allocations: 81.45 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.266, allocations: 455 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.266, allocations: 4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.266, allocations: 0 / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.2661, allocations: 7.938 kB / 0.9822 GB, free: 24.23 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.001472/0.2675, allocations: 0.6821 MB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2676, allocations: 12.03 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.2677, allocations: 51.44 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.2683, allocations: 363.1 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.2684, allocations: 29 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.2685, allocations: 47.83 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/0.2694, allocations: 399 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2695, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.2696, allocations: 16 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.2696, allocations: 8 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008733/0.2705, allocations: 287.8 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.2732, allocations: 1.343 MB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.2741, allocations: 254.8 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.2742, allocations: 4 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2742, allocations: 34.56 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 3.026e-06/0.2742, allocations: 0 / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.001017/0.2752, allocations: 303.2 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2753, allocations: 102.8 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.2759, allocations: 417.5 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2759, allocations: 37.7 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.2761, allocations: 247.8 kB / 0.9867 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.2762, allocations: 67.08 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.2762, allocations: 4 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.2763, allocations: 346.8 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.2767, allocations: 107.9 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.2771, allocations: 210.8 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.2776, allocations: 133.9 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2776, allocations: 4 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009824/0.2786, allocations: 353.1 kB / 0.9879 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.2788, allocations: 0.79 MB / 0.9886 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2788, allocations: 4 kB / 0.9886 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.2788, allocations: 4 kB / 0.9886 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.2793, allocations: 67.89 kB / 0.9887 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.2793, allocations: 4 kB / 0.9887 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.2797, allocations: 63.56 kB / 0.9888 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.2798, allocations: 12 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-06/0.2798, allocations: 4 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005123/0.2803, allocations: 241.6 kB / 0.989 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2803, allocations: 224 / 0.989 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.2804, allocations: 11.95 kB / 0.989 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.2807, allocations: 55.91 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2808, allocations: 4 kB / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2811, allocations: 39.67 kB / 0.9891 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2811, allocations: 16 kB / 0.9891 GB, free: 16.8 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.0002885/0.2814, allocations: 237 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.2815, allocations: 39.53 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.961e-05/0.2816, allocations: 31.61 kB / 0.9894 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2816, allocations: 7.953 kB / 0.9894 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2816, allocations: 0 / 0.9894 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2816, allocations: 3.984 kB / 0.9894 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.2831, allocations: 0.7068 MB / 0.9901 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2832, allocations: 3.984 kB / 0.9901 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.2835, allocations: 47.88 kB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.2835, allocations: 8 kB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.2836, allocations: 7.984 kB / 0.9902 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.2836, allocations: 4 kB / 0.9902 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2836, allocations: 0 / 0.9902 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2846, allocations: 472 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2848, allocations: 112.7 kB / 0.9908 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.2848, allocations: 8 kB / 0.9908 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.2852, allocations: 19.98 kB / 0.9908 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.2852, allocations: 11.98 kB / 0.9908 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.2853, allocations: 15.92 kB / 0.9908 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004089/0.2857, allocations: 291.2 kB / 0.9911 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2857, allocations: 0 / 0.9911 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006858/0.2864, allocations: 131.4 kB / 0.9912 GB, free: 14.54 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.0001503/0.2865, allocations: 107.1 kB / 0.9913 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.2876, allocations: 364.4 kB / 0.9917 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2877, allocations: 0 / 0.9917 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.288, allocations: 95.95 kB / 0.9918 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.2887, allocations: 65.64 kB / 0.9918 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2904, allocations: 0.7751 MB / 0.9926 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2907, allocations: 0.8154 MB / 0.9934 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002727/0.291, allocations: 39.27 kB / 0.9934 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.2911, allocations: 31.42 kB / 0.9934 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2911, allocations: 0 / 0.9934 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.01017/0.3013, allocations: 3.029 MB / 0.9964 GB, free: 9.195 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)