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_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007089/0.007089, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001402/0.001402, allocations: 196.1 kB / 16.68 MB, free: 5.926 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.791/1.791, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.745/1.745, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001476/0.001477, allocations: 72.38 kB / 0.7257 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.309, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.004002/0.3131, allocations: 1.426 MB / 0.8294 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005314/0.3137, allocations: 164.3 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.3138, allocations: 0 / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.3138, allocations: 7.938 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.314, allocations: 15.86 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.3142, allocations: 19.97 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3143, allocations: 55.8 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.3145, allocations: 15.98 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3146, allocations: 35.84 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3148, allocations: 31.86 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3148, allocations: 4 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.3148, allocations: 4 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.3149, allocations: 11.98 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.3149, allocations: 31.84 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.3151, allocations: 67.72 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3151, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3151, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3151, 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.0006369/0.3157, allocations: 367.2 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3158, allocations: 8.031 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.3159, allocations: 8.938 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.3162, allocations: 196.1 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3162, allocations: 8.359 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.3162, allocations: 4.375 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3164, allocations: 54.23 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3164, allocations: 192 / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3164, allocations: 7.922 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3165, allocations: 8 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3166, allocations: 27.98 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.3171, allocations: 300.7 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3174, allocations: 70.53 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.3175, allocations: 21 kB / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3175, allocations: 0 / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3176, allocations: 34.5 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3176, allocations: 0 / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003156/0.3179, allocations: 77.69 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3179, allocations: 55.41 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3181, allocations: 121.8 kB / 0.8311 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3181, allocations: 33.69 kB / 0.8312 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.3182, allocations: 88.08 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3182, allocations: 11.91 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.3182, allocations: 17.7 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3184, allocations: 318.8 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.3184, allocations: 15.98 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.701e-05/0.3185, allocations: 37.64 kB / 0.8316 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.235e-05/0.3186, allocations: 28.84 kB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3186, allocations: 0 / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.3188, allocations: 65.59 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3188, allocations: 4 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3188, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3189, allocations: 3.984 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.3189, allocations: 8.031 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3189, allocations: 3.938 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.319, allocations: 11.98 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.319, allocations: 0 / 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 (shaT.hys.y,$PRE.shaT.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.000114/0.3191, allocations: 121.7 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.3192, allocations: 11.91 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.3192, allocations: 7.906 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3192, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3192, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3192, allocations: 7.984 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3194, allocations: 173.6 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3195, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.3195, allocations: 7.984 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3195, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3195, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3195, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3195, allocations: 4 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.3197, allocations: 155.5 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.3198, allocations: 89.02 kB / 0.8323 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3198, allocations: 0 / 0.8323 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.3199, allocations: 11.92 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.32, allocations: 7.984 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.32, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.338e-05/0.3201, allocations: 103.6 kB / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3e-07/0.3201, allocations: 0 / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002282/0.3204, 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0001484/0.3205, allocations: 99.19 kB / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3207, allocations: 31.98 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-06/0.3207, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.715e-05/0.3208, allocations: 23.92 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3211, allocations: 12.31 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.0004479/0.3216, allocations: 167.2 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3219, allocations: 0.6911 MB / 0.8334 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.257e-05/0.322, allocations: 11.89 kB / 0.8334 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.322, allocations: 15.38 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.3221, allocations: 0 / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.003672/0.3257, allocations: 0.6996 MB / 0.8341 GB, free: 9.543 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)