Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01047/0.01047, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001791/0.001791, allocations: 195.4 kB / 16.68 MB, free: 5.93 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.7/1.7, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.721/1.721, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.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.001463/0.001463, allocations: 69.77 kB / 0.7257 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2867, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002832/0.2895, allocations: 1.407 MB / 0.8294 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000458/0.29, allocations: 164.4 kB / 0.8295 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.2901, allocations: 4 kB / 0.8295 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.2901, allocations: 7.922 kB / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2903, allocations: 11.86 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2904, allocations: 15.98 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2906, allocations: 59.78 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2907, allocations: 27.98 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.2908, allocations: 19.92 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.2909, allocations: 35.78 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2909, allocations: 4 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.291, allocations: 4 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.291, allocations: 12 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.291, allocations: 23.86 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.2912, allocations: 75.7 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2912, allocations: 4 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2912, allocations: 0 / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.2912, allocations: 0 / 0.8298 GB, free: 14.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005916/0.2918, allocations: 363.2 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2919, allocations: 12.03 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.2919, allocations: 4.938 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.2922, allocations: 192.1 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2922, allocations: 4.375 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.2923, allocations: 12.31 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2924, allocations: 58.22 kB / 0.8304 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2924, allocations: 192 / 0.8304 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2924, allocations: 15.88 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2925, allocations: 3.984 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.2926, allocations: 27.98 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.2931, allocations: 300.7 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.2934, allocations: 70.59 kB / 0.8308 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.2935, allocations: 16.94 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2935, allocations: 4 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2936, allocations: 30.56 kB / 0.8309 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2936, allocations: 4 kB / 0.8309 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.000278/0.2939, allocations: 77.52 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.2939, allocations: 51.41 kB / 0.831 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.294, allocations: 122.2 kB / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2941, allocations: 25.7 kB / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.2941, allocations: 92.08 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2942, allocations: 15.89 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.2942, allocations: 17.72 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2943, allocations: 322.8 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.2944, allocations: 12 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-05/0.2945, allocations: 29.7 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.242e-05/0.2946, allocations: 28.84 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2946, allocations: 0 / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.2947, allocations: 73.55 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2948, allocations: 8 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2948, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2948, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.583e-05/0.2948, allocations: 7.938 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2949, allocations: 0 / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.2949, allocations: 11.98 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2949, allocations: 0 / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaH.hys.y,$PRE.shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001015/0.295, allocations: 121.8 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.2951, allocations: 3.906 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.2951, allocations: 15.89 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2951, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2951, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2951, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.2953, allocations: 173.6 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2953, allocations: 3.984 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.2954, allocations: 11.94 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2954, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2954, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2954, allocations: 4 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2954, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.2956, allocations: 163.7 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.2957, allocations: 85.02 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2957, allocations: 3.984 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.2958, allocations: 8 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.2958, allocations: 7.984 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2958, allocations: 4 kB / 0.8323 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.2959, allocations: 99.31 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2959, allocations: 4 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002282/0.2961, allocations: 4 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001067/0.2963, allocations: 95.25 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.2964, allocations: 39.91 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2965, allocations: 4 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.2965, allocations: 16 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2968, allocations: 15.92 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.2972, allocations: 159.8 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.2975, allocations: 0.6883 MB / 0.8334 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.2976, allocations: 15.84 kB / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.2976, allocations: 15.42 kB / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.2976, allocations: 0 / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.002944/0.3006, allocations: 0.6982 MB / 0.8341 GB, free: 9.523 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)