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.00121/0.00121, allocations: 114.1 kB / 16.37 MB, free: 6.012 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.001192/0.001192, allocations: 187 kB / 17.31 MB, free: 5.609 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001403/0.001403, allocations: 80.16 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2216, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003463/0.2252, allocations: 1.835 MB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.2271, allocations: 1.242 MB / 0.7878 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.2275, allocations: 7.938 kB / 0.7878 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.2278, allocations: 67.27 kB / 0.7879 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.3713/0.5991, allocations: 67 kB / 0.788 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.5996, allocations: 157.5 kB / 0.7881 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.6001, allocations: 489.5 kB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.6005, allocations: 257 kB / 0.7888 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.6007, allocations: 177.7 kB / 0.789 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.6009, allocations: 201.4 kB / 0.7892 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.601, allocations: 53 kB / 0.7892 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.601, allocations: 51.69 kB / 0.7893 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.6011, allocations: 108.5 kB / 0.7894 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.6012, allocations: 215.4 kB / 0.7896 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.6017, allocations: 0.5891 MB / 0.7902 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6018, allocations: 5.906 kB / 0.7902 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6018, allocations: 0 / 0.7902 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.6018, allocations: 0 / 0.7902 GB, free: 46.19 MB / 0.6544 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.001174/0.603, allocations: 0.7528 MB / 0.7909 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.603, allocations: 10.97 kB / 0.7909 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.918e-05/0.6031, allocations: 48.09 kB / 0.791 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.6036, allocations: 374.8 kB / 0.7913 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.6037, allocations: 30.88 kB / 0.7913 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.6037, allocations: 37.88 kB / 0.7914 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.6044, allocations: 393.1 kB / 0.7918 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6044, allocations: 3.844 kB / 0.7918 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.6044, allocations: 18.41 kB / 0.7918 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.6045, allocations: 11.16 kB / 0.7918 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.605, allocations: 273.7 kB / 0.7921 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.6067, allocations: 1.323 MB / 0.7933 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.6072, allocations: 214.8 kB / 0.7935 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.6075, allocations: 113.6 kB / 0.7937 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.6075, allocations: 0.6094 kB / 0.7937 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.6075, allocations: 36.95 kB / 0.7937 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.6075, allocations: 0 / 0.7937 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0006102/0.6081, allocations: 275 kB / 0.794 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.6082, allocations: 110.1 kB / 0.7941 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.6086, allocations: 417.5 kB / 0.7945 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.6086, allocations: 29.64 kB / 0.7945 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.6088, allocations: 261.4 kB / 0.7947 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.6088, allocations: 64.52 kB / 0.7948 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.6089, allocations: 62.95 kB / 0.7949 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.609, allocations: 355.6 kB / 0.7952 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.6092, allocations: 101.6 kB / 0.7953 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.6094, allocations: 201.9 kB / 0.7955 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.6098, allocations: 257.6 kB / 0.7957 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6099, allocations: 0 / 0.7957 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005461/0.6104, allocations: 343.8 kB / 0.7961 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6104, allocations: 10.56 kB / 0.7961 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6104, allocations: 0 / 0.7961 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.6105, allocations: 3.438 kB / 0.7961 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.6107, allocations: 73.81 kB / 0.7961 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6107, allocations: 6.938 kB / 0.7962 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.611, allocations: 45.67 kB / 0.7962 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.611, allocations: 13.62 kB / 0.7962 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001901/0.6112, allocations: 196.4 kB / 0.7964 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001513/0.6114, allocations: 174.5 kB / 0.7966 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002178/0.6116, allocations: 210.3 kB / 0.7968 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.6116, allocations: 3.312 kB / 0.7968 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003379/0.6119, allocations: 296.5 kB / 0.797 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.612, allocations: 6.844 kB / 0.7971 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.612, allocations: 3.438 kB / 0.7971 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.612, allocations: 3.188 kB / 0.7971 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.6122, allocations: 55.83 kB / 0.7971 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6122, allocations: 12.03 kB / 0.7971 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.6124, allocations: 33.14 kB / 0.7972 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.6124, allocations: 18.06 kB / 0.7972 GB, free: 43.2 MB / 0.6544 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 8.896e-05/0.6125, allocations: 200.8 kB / 0.7974 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.6125, allocations: 36.97 kB / 0.7974 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.6126, allocations: 42.08 kB / 0.7974 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6126, allocations: 7.938 kB / 0.7974 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6126, allocations: 1.5 kB / 0.7974 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6127, allocations: 0 / 0.7974 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009339/0.6136, allocations: 0.6932 MB / 0.7981 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6136, allocations: 9.125 kB / 0.7981 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.6138, allocations: 37.23 kB / 0.7982 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.6138, allocations: 0 / 0.7982 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.6138, allocations: 6.781 kB / 0.7982 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6138, allocations: 2.438 kB / 0.7982 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.6138, allocations: 1.922 kB / 0.7982 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.6145, allocations: 407.6 kB / 0.7986 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.6145, allocations: 125.5 kB / 0.7987 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.6146, allocations: 6.469 kB / 0.7987 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.6148, allocations: 19.88 kB / 0.7987 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.6148, allocations: 8.891 kB / 0.7987 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.6148, allocations: 11.88 kB / 0.7987 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002982/0.6151, allocations: 289.4 kB / 0.799 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6151, allocations: 1.219 kB / 0.799 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004656/0.6156, allocations: 129.3 kB / 0.7991 GB, free: 41.93 MB / 0.6544 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.000151/0.6158, allocations: 116.6 kB / 0.7992 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006439/0.6164, allocations: 349.2 kB / 0.7996 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6164, allocations: 2.5 kB / 0.7996 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.6166, allocations: 85.3 kB / 0.7997 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.6172, allocations: 73.19 kB / 0.7997 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.6184, allocations: 0.6879 MB / 0.8004 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.6187, allocations: 0.7984 MB / 0.8012 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.6188, allocations: 38.97 kB / 0.8012 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6188, allocations: 0 / 0.8012 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.01071/0.6295, allocations: 4.369 MB / 0.8055 GB, free: 40.25 MB / 0.6544 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)