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.00152/0.001521, 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.001497/0.001497, 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.567/1.567, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.883/1.883, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001524/0.001524, allocations: 81.61 kB / 0.6723 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2963, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003449/0.2998, allocations: 1.843 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3015, allocations: 1.238 MB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.3017, allocations: 11.94 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3019, allocations: 67.27 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.3022, allocations: 74.45 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3025, allocations: 159.8 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.3029, allocations: 477 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.3033, allocations: 263.1 kB / 0.7882 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.3035, allocations: 183.2 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.3037, allocations: 198.9 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.3038, allocations: 52 kB / 0.7886 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.3038, allocations: 52 kB / 0.7886 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.3039, allocations: 103.6 kB / 0.7887 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3041, allocations: 214.8 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.3046, allocations: 0.5954 MB / 0.7895 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3046, allocations: 4 kB / 0.7895 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3046, allocations: 0 / 0.7895 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3046, allocations: 0 / 0.7895 GB, free: 7.207 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.001184/0.3058, allocations: 0.7601 MB / 0.7902 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3058, allocations: 8.031 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.3059, allocations: 48.38 kB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.3064, allocations: 376.1 kB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.3065, allocations: 29.38 kB / 0.7907 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.3065, allocations: 36.38 kB / 0.7907 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.3072, allocations: 395.6 kB / 0.7911 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3072, allocations: 192 / 0.7911 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3072, allocations: 19.94 kB / 0.7911 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3072, allocations: 8 kB / 0.7911 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.3077, allocations: 275.8 kB / 0.7914 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3095, allocations: 1.319 MB / 0.7927 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.31, allocations: 218.8 kB / 0.7929 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3103, allocations: 108.8 kB / 0.793 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3103, allocations: 0 / 0.793 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3103, allocations: 34.56 kB / 0.793 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 2.515e-06/0.3103, allocations: 0 / 0.793 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006469/0.311, allocations: 291.8 kB / 0.7933 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.3111, allocations: 106.8 kB / 0.7934 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.3115, allocations: 421.6 kB / 0.7938 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3116, allocations: 29.7 kB / 0.7938 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.3117, allocations: 255.7 kB / 0.7941 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.3118, allocations: 59.11 kB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.3119, allocations: 65.59 kB / 0.7942 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.312, allocations: 350.8 kB / 0.7945 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.3122, allocations: 104.8 kB / 0.7946 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3125, allocations: 199.5 kB / 0.7948 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.3129, allocations: 247.5 kB / 0.7951 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.313, allocations: 7.875 kB / 0.7951 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005967/0.3136, allocations: 355.8 kB / 0.7954 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3136, allocations: 4 kB / 0.7954 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3136, allocations: 4 kB / 0.7954 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3136, allocations: 4 kB / 0.7954 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.3139, allocations: 71.83 kB / 0.7955 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3139, allocations: 4 kB / 0.7955 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3141, allocations: 51.83 kB / 0.7955 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3141, allocations: 16 kB / 0.7956 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002095/0.3143, allocations: 192.8 kB / 0.7957 GB, free: 496 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001672/0.3145, allocations: 168.9 kB / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000237/0.3148, allocations: 211.5 kB / 0.7961 GB, free: 48 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.756e-06/0.3148, allocations: 7.938 kB / 0.7961 GB, free: 40 kB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003831/0.3152, allocations: 297 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.3152, allocations: 6.812 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3152, allocations: 4 kB / 0.7964 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.3152, allocations: 4 kB / 0.7964 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3154, allocations: 55.92 kB / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3154, allocations: 8.156 kB / 0.7965 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.3156, allocations: 39.72 kB / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3156, allocations: 12 kB / 0.7965 GB, free: 15.62 MB / 0.6231 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.00012/0.3157, allocations: 196.2 kB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.3158, allocations: 35.53 kB / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.3158, allocations: 39.61 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3159, allocations: 3.938 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3159, allocations: 0 / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3159, allocations: 7.984 kB / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009602/0.3168, allocations: 0.6873 MB / 0.7975 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3169, allocations: 7.922 kB / 0.7975 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.317, allocations: 35.92 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.317, allocations: 8.062 kB / 0.7975 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3171, allocations: 7.984 kB / 0.7975 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3171, allocations: 4 kB / 0.7975 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3171, allocations: 0 / 0.7975 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.3177, allocations: 417.8 kB / 0.7979 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.3178, allocations: 124.6 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.3178, allocations: 4.188 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.318, allocations: 15.98 kB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.3181, allocations: 15.97 kB / 0.7981 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3181, allocations: 7.984 kB / 0.7981 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002742/0.3183, allocations: 299.2 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3184, allocations: 0 / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004432/0.3188, allocations: 131.4 kB / 0.7985 GB, free: 13.49 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.0001442/0.319, allocations: 107.2 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006191/0.3196, allocations: 355.7 kB / 0.7989 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3196, allocations: 4 kB / 0.7989 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.3198, allocations: 83.89 kB / 0.799 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.3203, allocations: 84.22 kB / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3214, allocations: 0.6454 MB / 0.7997 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3217, allocations: 0.8035 MB / 0.8005 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.3219, allocations: 39.25 kB / 0.8005 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.3219, allocations: 31.44 kB / 0.8006 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.322, allocations: 0 / 0.8006 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.006792/0.3287, allocations: 3.326 MB / 0.8038 GB, free: 7.992 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)