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.001151/0.001151, allocations: 106.4 kB / 16.27 MB, free: 5.977 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.001162/0.001162, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.457/1.457, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.793/1.793, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001466/0.001466, allocations: 67.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2723, allocations: 114.6 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003528/0.2759, allocations: 1.831 MB / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2779, allocations: 1.246 MB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.2781, allocations: 11.94 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.2784, allocations: 75.19 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.2787, allocations: 55.41 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.279, allocations: 159.8 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000466/0.2794, allocations: 492.9 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6088/0.8882, allocations: 249.9 kB / 0.7881 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.8886, allocations: 173 kB / 0.7882 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.8889, allocations: 197 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.8889, allocations: 53 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.889, allocations: 52.62 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.8891, allocations: 114 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.8893, allocations: 210.4 kB / 0.7888 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.8899, allocations: 0.5717 MB / 0.7894 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.8899, allocations: 0.5938 kB / 0.7894 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8899, allocations: 2.312 kB / 0.7894 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.89, allocations: 0 / 0.7894 GB, free: 46.36 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.001233/0.8912, allocations: 0.7486 MB / 0.7901 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.8913, allocations: 10.5 kB / 0.7901 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.8914, allocations: 48.91 kB / 0.7902 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.8918, allocations: 374.6 kB / 0.7905 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.8919, allocations: 34.84 kB / 0.7906 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.892, allocations: 34.75 kB / 0.7906 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.8926, allocations: 399.5 kB / 0.791 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.8927, allocations: 2.062 kB / 0.791 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.8927, allocations: 18.06 kB / 0.791 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.8927, allocations: 10.5 kB / 0.791 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.8933, allocations: 272.6 kB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.8951, allocations: 1.33 MB / 0.7926 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.8956, allocations: 224.4 kB / 0.7928 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.8958, allocations: 105.8 kB / 0.7929 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.8959, allocations: 6.062 kB / 0.7929 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.8959, allocations: 34.03 kB / 0.7929 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.8959, allocations: 0 / 0.7929 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0006128/0.8965, allocations: 275.9 kB / 0.7932 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.8966, allocations: 110.9 kB / 0.7933 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.897, allocations: 418.7 kB / 0.7937 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.8971, allocations: 29.08 kB / 0.7937 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.8972, allocations: 255.8 kB / 0.7939 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.8973, allocations: 60.75 kB / 0.794 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.8974, allocations: 67.48 kB / 0.7941 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.8975, allocations: 348.1 kB / 0.7944 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.8977, allocations: 106.1 kB / 0.7945 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.8979, allocations: 192.1 kB / 0.7947 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.8983, allocations: 264.1 kB / 0.7949 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8983, allocations: 0 / 0.7949 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005448/0.8989, allocations: 345.8 kB / 0.7953 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.8989, allocations: 6.781 kB / 0.7953 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8989, allocations: 3.5 kB / 0.7953 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.899, allocations: 3.5 kB / 0.7953 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.8992, allocations: 68.77 kB / 0.7953 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.8992, allocations: 4.25 kB / 0.7954 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.8994, allocations: 54.31 kB / 0.7954 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.8995, allocations: 13.97 kB / 0.7954 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001881/0.8997, allocations: 193.7 kB / 0.7956 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001549/0.8998, allocations: 173.7 kB / 0.7958 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002217/0.9001, allocations: 218.9 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.9001, allocations: 3.469 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003332/0.9004, allocations: 289 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.9004, allocations: 9.75 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/0.9004, allocations: 0 / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.9004, allocations: 3.312 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.9006, allocations: 50.5 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9006, allocations: 17.44 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.9008, allocations: 39.44 kB / 0.7964 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.9009, allocations: 11.94 kB / 0.7964 GB, free: 43.45 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 0.000109/0.901, allocations: 200.3 kB / 0.7966 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.901, allocations: 40.03 kB / 0.7966 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.9011, allocations: 37.66 kB / 0.7966 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.9011, allocations: 7.406 kB / 0.7967 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9011, allocations: 4 kB / 0.7967 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9011, allocations: 3.609 kB / 0.7967 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.9021, allocations: 0.6907 MB / 0.7973 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9021, allocations: 7.438 kB / 0.7973 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.9023, allocations: 41.16 kB / 0.7974 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9023, allocations: 4.062 kB / 0.7974 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.9023, allocations: 4.875 kB / 0.7974 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9023, allocations: 0 / 0.7974 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9023, allocations: 5.438 kB / 0.7974 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.903, allocations: 408.7 kB / 0.7978 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.903, allocations: 122 kB / 0.7979 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.9031, allocations: 9.891 kB / 0.7979 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.9033, allocations: 15.45 kB / 0.7979 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.9033, allocations: 15.52 kB / 0.7979 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.9033, allocations: 5.594 kB / 0.7979 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002627/0.9036, allocations: 298 kB / 0.7982 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.9036, allocations: 0 / 0.7982 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004619/0.9041, allocations: 128.7 kB / 0.7984 GB, free: 42.21 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.0001671/0.9042, allocations: 107.2 kB / 0.7985 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006897/0.9049, allocations: 364 kB / 0.7988 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.905, allocations: 0 / 0.7988 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.9051, allocations: 80.88 kB / 0.7989 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.9057, allocations: 83.53 kB / 0.799 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.9069, allocations: 0.6888 MB / 0.7996 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.9072, allocations: 0.7988 MB / 0.8004 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.9073, allocations: 30.97 kB / 0.8004 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.9073, allocations: 4 kB / 0.8004 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.01051/0.9179, allocations: 4.368 MB / 0.8047 GB, free: 40.53 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)