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.007315/0.007314, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001123/0.001123, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.8/1.8, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.783/1.783, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001515/0.001515, allocations: 69.78 kB / 0.7257 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2988, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002704/0.3016, allocations: 1.418 MB / 0.8294 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000451/0.302, allocations: 164.4 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3021, allocations: 0 / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.3021, allocations: 7.922 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.3023, allocations: 11.86 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.3025, allocations: 19.98 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3026, allocations: 59.78 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3027, allocations: 27.97 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3029, allocations: 27.91 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.303, allocations: 27.8 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.303, allocations: 4 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.838e-05/0.303, allocations: 8 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.303, allocations: 11.98 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.3031, allocations: 23.88 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3032, allocations: 71.7 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3032, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3032, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3033, allocations: 0 / 0.8298 GB, free: 14.35 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.0005817/0.3038, allocations: 373.8 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3039, allocations: 8.031 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3039, allocations: 4.938 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3042, allocations: 192.2 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3043, allocations: 4.312 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3043, allocations: 12.31 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3045, allocations: 54.23 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3045, allocations: 4.188 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3045, allocations: 3.938 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3045, allocations: 4 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3046, allocations: 31.97 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.3051, allocations: 296.7 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.3054, allocations: 70.62 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.3055, allocations: 20.91 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.3055, allocations: 0 / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3055, allocations: 38.56 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.3055, allocations: 0 / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002834/0.3058, allocations: 81.5 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3059, allocations: 55.41 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.306, allocations: 121.8 kB / 0.8311 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.306, allocations: 25.7 kB / 0.8312 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.3061, allocations: 100.1 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.3061, allocations: 3.906 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3062, allocations: 17.72 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3064, allocations: 322.7 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.3064, allocations: 16 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.3065, allocations: 33.7 kB / 0.8316 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.3066, allocations: 24.84 kB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3066, allocations: 0 / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001444/0.3068, allocations: 73.52 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3068, allocations: 4 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3068, allocations: 32 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3068, allocations: 4 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.3069, allocations: 7.984 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3069, allocations: 4 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.3069, allocations: 4 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.307, allocations: 3.938 kB / 0.8318 GB, free: 12.14 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 9.367e-05/0.3071, allocations: 122.1 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3071, allocations: 7.906 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.3071, allocations: 15.89 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3071, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3071, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3072, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3074, allocations: 181.6 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3074, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.3074, allocations: 7.938 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3074, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.3075, allocations: 4 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3075, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3075, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.3077, allocations: 159.5 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.3077, allocations: 85 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3078, allocations: 0 / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.3078, allocations: 4 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.3079, allocations: 11.98 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3079, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.953e-05/0.308, allocations: 95.27 kB / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.308, allocations: 4 kB / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002167/0.3082, allocations: 8 kB / 0.8324 GB, free: 11.34 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.0001313/0.3084, allocations: 101.9 kB / 0.8325 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3085, allocations: 39.91 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3085, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.3086, allocations: 11.98 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3089, allocations: 15.94 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.3094, allocations: 167.7 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3097, allocations: 0.6883 MB / 0.8334 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.3098, allocations: 7.891 kB / 0.8334 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.3098, allocations: 15.44 kB / 0.8334 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of SimCode: time 1.423e-06/0.3098, allocations: 0 / 0.8334 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.003235/0.3131, allocations: 0.7105 MB / 0.8341 GB, free: 9.539 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)