Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001364, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.89/1.89, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001767/0.001768, allocations: 77.55 kB / 0.6723 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2804, allocations: 114.5 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.004681/0.2851, allocations: 2.161 MB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003527/0.2887, allocations: 1.678 MB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005955/0.2893, allocations: 11.94 kB / 0.7879 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.2898, allocations: 79.06 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.2906, allocations: 99.05 kB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2917, allocations: 413.3 kB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009372/0.2927, allocations: 0.7778 MB / 0.7892 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.2932, allocations: 333.3 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.2935, allocations: 291 kB / 0.7898 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.2939, allocations: 322.4 kB / 0.7901 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.294, allocations: 84 kB / 0.7902 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2941, allocations: 99.98 kB / 0.7903 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2943, allocations: 147.5 kB / 0.7904 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.2946, allocations: 326.4 kB / 0.7908 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.2955, allocations: 0.8991 MB / 0.7916 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2955, allocations: 0 / 0.7916 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2955, allocations: 0 / 0.7916 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.2956, allocations: 0 / 0.7916 GB, free: 4.988 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001789/0.2974, allocations: 0.9982 MB / 0.7926 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2974, allocations: 8.031 kB / 0.7926 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.2975, allocations: 68.19 kB / 0.7927 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.2983, allocations: 446.8 kB / 0.7931 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.2983, allocations: 41.38 kB / 0.7931 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.2985, allocations: 60.38 kB / 0.7932 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.2993, allocations: 499.5 kB / 0.7937 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2993, allocations: 192 / 0.7937 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.2994, allocations: 23.94 kB / 0.7937 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.2994, allocations: 15.98 kB / 0.7937 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/0.3, allocations: 339.8 kB / 0.794 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.3022, allocations: 1.55 MB / 0.7956 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.3032, allocations: 0.8824 MB / 0.7964 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.3035, allocations: 215.2 kB / 0.7966 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.3036, allocations: 11.92 kB / 0.7966 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.3041, allocations: 256.9 kB / 0.7969 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.987e-06/0.3041, allocations: 0 / 0.7969 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47): time 0.001035/0.3051, allocations: 0.5296 MB / 0.7974 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.3052, allocations: 111.2 kB / 0.7975 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.3056, allocations: 417.8 kB / 0.7979 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.3057, allocations: 41.7 kB / 0.7979 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3059, allocations: 261 kB / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.306, allocations: 149.8 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.3062, allocations: 110.2 kB / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3064, allocations: 358.8 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.3068, allocations: 191 kB / 0.799 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.3072, allocations: 287.3 kB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.3079, allocations: 461.6 kB / 0.7997 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.308, allocations: 0 / 0.7997 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001117/0.3091, allocations: 0.6314 MB / 0.8003 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.667e-05/0.3092, allocations: 67.39 kB / 0.8004 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3092, allocations: 7.984 kB / 0.8004 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3092, allocations: 4 kB / 0.8004 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3096, allocations: 83.89 kB / 0.8004 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3096, allocations: 4 kB / 0.8005 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.3101, allocations: 107.6 kB / 0.8006 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.3102, allocations: 23.98 kB / 0.8006 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004456/0.3106, allocations: 297.2 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003546/0.311, allocations: 263.4 kB / 0.8011 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005264/0.3115, allocations: 409.6 kB / 0.8015 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.3115, allocations: 0 / 0.8015 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008859/0.3124, allocations: 0.5807 MB / 0.8021 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.3125, allocations: 71.39 kB / 0.8021 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.3125, allocations: 0 / 0.8021 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.3125, allocations: 4 kB / 0.8021 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.3128, allocations: 71.91 kB / 0.8022 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3128, allocations: 4 kB / 0.8022 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.3132, allocations: 95.77 kB / 0.8023 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3133, allocations: 27.92 kB / 0.8023 GB, free: 9.453 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001968/0.3135, allocations: 214.9 kB / 0.8025 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.3136, allocations: 55.28 kB / 0.8026 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.3137, allocations: 61.17 kB / 0.8026 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3137, allocations: 8 kB / 0.8027 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3137, allocations: 0 / 0.8027 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3137, allocations: 0 / 0.8027 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.3153, allocations: 1.068 MB / 0.8037 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3153, allocations: 0 / 0.8037 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.3156, allocations: 79.89 kB / 0.8038 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3156, allocations: 4 kB / 0.8038 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.3157, allocations: 12 kB / 0.8038 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3157, allocations: 0 / 0.8038 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3157, allocations: 3.984 kB / 0.8038 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3167, allocations: 0.6983 MB / 0.8045 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.3168, allocations: 124.5 kB / 0.8046 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.3169, allocations: 11.98 kB / 0.8046 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3171, allocations: 23.98 kB / 0.8046 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.3171, allocations: 28.39 kB / 0.8047 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.3172, allocations: 19.94 kB / 0.8047 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002899/0.3175, allocations: 283.2 kB / 0.8049 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3175, allocations: 0 / 0.8049 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006232/0.3181, allocations: 227.2 kB / 0.8052 GB, free: 6.457 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002143/0.3183, allocations: 123.2 kB / 0.8053 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.3197, allocations: 0.935 MB / 0.8062 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3197, allocations: 4.062 kB / 0.8062 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.3201, allocations: 194.4 kB / 0.8064 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.3207, allocations: 108.6 kB / 0.8065 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3222, allocations: 0.9236 MB / 0.8074 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3226, allocations: 0.8552 MB / 0.8082 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.3228, allocations: 59.7 kB / 0.8083 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.323, allocations: 43.42 kB / 0.8083 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.323, allocations: 3.938 kB / 0.8083 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of Templates: time 0.01237/0.3353, allocations: 7.125 MB / 0.8153 GB, free: 12.04 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)