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 2.831/2.831, allocations: 287.5 MB / 302.4 MB, free: 8.379 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.001347/0.001346, allocations: 185.9 kB / 371 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.219/2.219, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009923/0.0009919, allocations: 105.9 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005617/0.000562, allocations: 14.17 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002327/0.2494, allocations: 1.369 MB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.2516, allocations: 1.207 MB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.252, allocations: 11.94 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.2523, allocations: 47.52 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.2526, allocations: 47.72 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.253, allocations: 99.83 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.2535, allocations: 413.1 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.2539, allocations: 191 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.2541, allocations: 107.3 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2543, allocations: 131.1 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.2544, allocations: 12 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.2544, allocations: 12 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.2545, allocations: 63.64 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.2546, allocations: 85.52 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.2551, allocations: 451 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.2552, allocations: 0 / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2552, allocations: 3.938 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2552, allocations: 0 / 0.9825 GB, free: 24.09 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.001607/0.2568, allocations: 0.6938 MB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2569, allocations: 8.031 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.257, allocations: 47.44 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.2576, allocations: 359.1 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.2577, allocations: 29 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.2578, allocations: 43.91 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.2595, allocations: 406.9 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.802e-05/0.2597, allocations: 3.938 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.2599, allocations: 16 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.26, allocations: 12 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.2613, allocations: 283.8 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.2642, allocations: 1.343 MB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/0.2651, allocations: 248.1 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.2655, allocations: 112.8 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.2656, allocations: 4 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.2656, allocations: 34.56 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 2.865e-06/0.2656, allocations: 4 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.001082/0.2667, allocations: 302.4 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.2668, allocations: 102.8 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.2674, allocations: 417.5 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.2675, allocations: 33.69 kB / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.2677, allocations: 255.7 kB / 0.9871 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.2677, allocations: 63.19 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.2678, allocations: 7.938 kB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.2679, allocations: 346.8 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.2683, allocations: 104 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.2687, allocations: 214.7 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.2692, allocations: 129.6 kB / 0.9879 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2692, allocations: 4 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001041/0.2702, allocations: 353.1 kB / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/0.2704, allocations: 150.3 kB / 0.9884 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.2704, allocations: 4 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.2704, allocations: 4 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.2709, allocations: 71.89 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2709, allocations: 4 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.2714, allocations: 59.58 kB / 0.9885 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.2714, allocations: 11.98 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2714, allocations: 4 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005411/0.272, allocations: 243.6 kB / 0.9888 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.272, allocations: 8.219 kB / 0.9888 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.272, allocations: 4 kB / 0.9888 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.2724, allocations: 51.92 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2725, allocations: 7.984 kB / 0.9888 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.2728, allocations: 43.69 kB / 0.9889 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2728, allocations: 8 kB / 0.9889 GB, free: 17.21 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.0003029/0.2732, allocations: 244.9 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.2733, allocations: 43.47 kB / 0.9892 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.2734, allocations: 35.61 kB / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2734, allocations: 4 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2734, allocations: 0 / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2734, allocations: 3.984 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.275, allocations: 0.7126 MB / 0.9899 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.275, allocations: 0 / 0.9899 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.2754, allocations: 43.91 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.2754, allocations: 4.062 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2754, allocations: 8 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2754, allocations: 0 / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2754, allocations: 3.953 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2765, allocations: 442.2 kB / 0.9904 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2767, allocations: 120.6 kB / 0.9905 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.2767, allocations: 8 kB / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.2771, allocations: 19.98 kB / 0.9905 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.2771, allocations: 11.94 kB / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.2772, allocations: 11.94 kB / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004367/0.2776, allocations: 299.1 kB / 0.9908 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2776, allocations: 0 / 0.9908 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006724/0.2783, allocations: 127.5 kB / 0.991 GB, free: 14.98 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.0001924/0.2785, allocations: 103.2 kB / 0.9911 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.2797, allocations: 359.6 kB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.2797, allocations: 0 / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.28, allocations: 96.89 kB / 0.9915 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.281, allocations: 61.53 kB / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.2829, allocations: 0.7829 MB / 0.9923 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2833, allocations: 0.796 MB / 0.9931 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000311/0.2836, allocations: 51.33 kB / 0.9931 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2837, allocations: 31.44 kB / 0.9932 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.2837, allocations: 0 / 0.9932 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.01067/0.2944, allocations: 3.035 MB / 0.9961 GB, free: 9.641 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)