Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 193.8 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 68.27 kB / 0.6708 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002975/0.2714, allocations: 1.862 MB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2731, allocations: 1.218 MB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2733, allocations: 8 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.2735, allocations: 51.45 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.2738, allocations: 47.7 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.2741, allocations: 131.9 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.2745, allocations: 449 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.2749, allocations: 251.1 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.275, allocations: 147.2 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2752, allocations: 186.9 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.2752, allocations: 27.94 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.095e-05/0.2753, allocations: 24 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.2754, allocations: 79.69 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.2755, allocations: 186.8 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.2759, allocations: 0.5452 MB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.276, allocations: 0 / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.32e-07/0.276, allocations: 4 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.276, allocations: 0 / 0.7878 GB, free: 8.766 MB / 0.6075 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.001188/0.2772, allocations: 0.7523 MB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2772, allocations: 12.03 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.586e-05/0.2773, allocations: 56.3 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.2778, allocations: 368.2 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.2778, allocations: 33.31 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.2779, allocations: 40.36 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.2785, allocations: 391.6 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2785, allocations: 4.188 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.2786, allocations: 19.94 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.2786, allocations: 8 kB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.2792, allocations: 271.8 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.2811, allocations: 1.331 MB / 0.7909 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.2816, allocations: 222.8 kB / 0.7912 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2818, allocations: 104.8 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.2819, allocations: 4 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2819, allocations: 30.56 kB / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.2819, allocations: 0 / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006587/0.2826, allocations: 283.6 kB / 0.7916 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.2827, allocations: 110.8 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.2832, allocations: 417.6 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2833, allocations: 33.7 kB / 0.7921 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2834, allocations: 255.7 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.2835, allocations: 59.11 kB / 0.7924 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2836, allocations: 69.59 kB / 0.7925 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.2838, allocations: 350.8 kB / 0.7928 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.284, allocations: 100.8 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.2843, allocations: 203.5 kB / 0.7931 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.2848, allocations: 255.5 kB / 0.7933 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2848, allocations: 0 / 0.7933 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006162/0.2854, allocations: 351.3 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.2854, allocations: 8 kB / 0.7937 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2855, allocations: 0 / 0.7937 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2855, allocations: 4 kB / 0.7937 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2858, allocations: 75.77 kB / 0.7937 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.2858, allocations: 4 kB / 0.7938 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.286, allocations: 55.83 kB / 0.7938 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.286, allocations: 8 kB / 0.7938 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002185/0.2862, allocations: 192.8 kB / 0.794 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001694/0.2864, allocations: 164.9 kB / 0.7942 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002503/0.2867, allocations: 219.5 kB / 0.7944 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2867, allocations: 0 / 0.7944 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004009/0.2871, allocations: 303.5 kB / 0.7947 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.2871, allocations: 8 kB / 0.7947 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/0.2871, allocations: 0 / 0.7947 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.2871, allocations: 4 kB / 0.7947 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.2873, allocations: 55.86 kB / 0.7947 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2873, allocations: 8.156 kB / 0.7947 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.2875, allocations: 43.72 kB / 0.7948 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2875, allocations: 12.09 kB / 0.7948 GB, free: 1.168 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.2877, allocations: 196.2 kB / 0.795 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.2877, allocations: 39.53 kB / 0.795 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.2878, allocations: 35.61 kB / 0.795 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2878, allocations: 7.938 kB / 0.795 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2878, allocations: 0 / 0.795 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2879, allocations: 7.984 kB / 0.7951 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.2889, allocations: 0.6901 MB / 0.7957 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2889, allocations: 3.938 kB / 0.7957 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2891, allocations: 39.91 kB / 0.7958 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2891, allocations: 4.062 kB / 0.7958 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2892, allocations: 8 kB / 0.7958 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2892, allocations: 3.984 kB / 0.7958 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2892, allocations: 0 / 0.7958 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.2898, allocations: 420.5 kB / 0.7962 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.2899, allocations: 116.6 kB / 0.7963 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.2899, allocations: 8 kB / 0.7963 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2901, allocations: 15.92 kB / 0.7963 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.2902, allocations: 11.98 kB / 0.7963 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.2902, allocations: 11.98 kB / 0.7963 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002967/0.2905, allocations: 291.2 kB / 0.7966 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2905, allocations: 4 kB / 0.7966 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004603/0.291, allocations: 131.4 kB / 0.7967 GB, free: 15.04 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.2911, allocations: 103.2 kB / 0.7968 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006161/0.2917, allocations: 358.8 kB / 0.7972 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2917, allocations: 0 / 0.7972 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2919, allocations: 83.89 kB / 0.7973 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.2925, allocations: 78.08 kB / 0.7973 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2937, allocations: 0.7957 MB / 0.7981 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.294, allocations: 0.7999 MB / 0.7989 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000162/0.2942, allocations: 51.23 kB / 0.7989 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.2943, allocations: 31.38 kB / 0.799 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2943, allocations: 0 / 0.799 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.00643/0.3007, allocations: 3.182 MB / 0.8021 GB, free: 9.539 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)