Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, 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.001419/0.001419, allocations: 189.3 kB / 16.13 MB, free: 6.652 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.529/1.529, 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.858/1.858, allocations: 292.2 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.001375/0.001375, allocations: 68.36 kB / 0.6708 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2907, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003161/0.2939, allocations: 1.866 MB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2955, allocations: 1.226 MB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.2957, allocations: 8 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.296, allocations: 47.52 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.2962, allocations: 43.72 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.2964, allocations: 139.8 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.2969, allocations: 437 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.2972, allocations: 230.3 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2974, allocations: 147.2 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2975, allocations: 171 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.2976, allocations: 24 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.805e-05/0.2976, allocations: 20 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.2977, allocations: 71.69 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.2978, allocations: 178.8 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.2983, allocations: 0.5063 MB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2983, allocations: 0 / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2983, allocations: 0 / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2983, allocations: 0 / 0.7877 GB, free: 8.898 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001161/0.2995, allocations: 0.7287 MB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2995, allocations: 12.03 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.2997, allocations: 48.31 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.3001, allocations: 359.8 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3001, allocations: 21.03 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.3002, allocations: 36.38 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.3008, allocations: 358.4 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3008, allocations: 192 / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.3009, allocations: 19.88 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3009, allocations: 8 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.3014, allocations: 250.4 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.3032, allocations: 1.267 MB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.3037, allocations: 198.7 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3039, allocations: 96.81 kB / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.304, allocations: 4 kB / 0.791 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.304, allocations: 34.56 kB / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.304, allocations: 0 / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000624/0.3046, allocations: 265 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.3047, allocations: 106.8 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.3052, allocations: 405.7 kB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3052, allocations: 29.7 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3054, allocations: 251.8 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.3054, allocations: 51.2 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.3055, allocations: 61.69 kB / 0.7921 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3057, allocations: 354.7 kB / 0.7924 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3059, allocations: 100.8 kB / 0.7925 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.3062, allocations: 189.3 kB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.3066, allocations: 225.9 kB / 0.7929 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3066, allocations: 0 / 0.7929 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005696/0.3072, allocations: 327.3 kB / 0.7932 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3072, allocations: 8 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3073, allocations: 4.156 kB / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3073, allocations: 4 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.3075, allocations: 60 kB / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3076, allocations: 7.938 kB / 0.7933 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3078, allocations: 47.66 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3078, allocations: 12 kB / 0.7934 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002296/0.308, allocations: 184.8 kB / 0.7936 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000187/0.3082, allocations: 157.9 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000239/0.3085, allocations: 188.3 kB / 0.7939 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.456e-06/0.3085, allocations: 3.938 kB / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004224/0.3089, allocations: 277 kB / 0.7942 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3089, allocations: 4 kB / 0.7942 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.309, allocations: 4 kB / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/0.309, allocations: 0 / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.3092, allocations: 52.08 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3092, allocations: 11.94 kB / 0.7942 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3094, allocations: 31.83 kB / 0.7943 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3094, allocations: 4 kB / 0.7943 GB, free: 1.746 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.000135/0.3095, allocations: 208.9 kB / 0.7945 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.3096, allocations: 35.53 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.3097, allocations: 35.25 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3097, allocations: 4 kB / 0.7945 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3097, allocations: 4 kB / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3097, allocations: 0 / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3109, allocations: 0.6794 MB / 0.7952 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3109, allocations: 4 kB / 0.7952 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.3111, allocations: 36.05 kB / 0.7952 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3111, allocations: 0 / 0.7952 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3111, allocations: 11.92 kB / 0.7952 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.3111, allocations: 4.031 kB / 0.7953 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3111, allocations: 7.875 kB / 0.7953 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.3117, allocations: 403.6 kB / 0.7956 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.3118, allocations: 113 kB / 0.7958 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.3119, allocations: 4 kB / 0.7958 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3121, allocations: 15.98 kB / 0.7958 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.3121, allocations: 19.91 kB / 0.7958 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3121, allocations: 4 kB / 0.7958 GB, free: 64 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003068/0.3124, allocations: 291.2 kB / 0.7961 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3124, allocations: 3.938 kB / 0.7961 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004236/0.3129, allocations: 119.5 kB / 0.7962 GB, free: 15.66 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,limPD.D.x) * 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 (15): * Single equations (assignments): 15 * 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.0001952/0.3131, allocations: 111.2 kB / 0.7963 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006264/0.3137, allocations: 326.3 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3137, allocations: 0 / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3139, allocations: 79.89 kB / 0.7967 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.3144, allocations: 62.28 kB / 0.7967 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3156, allocations: 0.7681 MB / 0.7975 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3159, allocations: 0.7921 MB / 0.7983 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.3161, allocations: 42.94 kB / 0.7983 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.3162, allocations: 39.36 kB / 0.7983 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3162, allocations: 0 / 0.7983 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.006726/0.3229, allocations: 3.148 MB / 0.8014 GB, free: 10.28 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)