Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.3 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 181.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 90.88 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005401, allocations: 10.84 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3099, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001063/0.311, allocations: 421.9 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3121, allocations: 0.8331 MB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.3122, allocations: 4 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.3122, allocations: 3.938 kB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3123, allocations: 7.984 kB / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.3125, allocations: 15.98 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.3126, allocations: 35.89 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3128, allocations: 11.98 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3129, allocations: 27.91 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.313, allocations: 19.92 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.313, allocations: 0 / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.313, allocations: 4 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.3131, allocations: 7.938 kB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.3131, allocations: 33.69 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3132, allocations: 52.11 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3132, allocations: 3.938 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.055e-06/0.3132, allocations: 0 / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3133, allocations: 0 / 0.9809 GB, free: 26.22 MB / 0.6198 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.0005895/0.3139, allocations: 359.2 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3139, allocations: 16.02 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.314, allocations: 7.984 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3143, allocations: 198.8 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.3143, allocations: 4 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3143, allocations: 0 / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3145, allocations: 61.67 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3145, allocations: 3.938 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3145, allocations: 4 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3145, allocations: 0 / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3146, allocations: 35.97 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.3151, allocations: 308.7 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.3154, allocations: 86.59 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3154, allocations: 0 / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3155, allocations: 30.56 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.3155, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002648/0.3157, allocations: 81.7 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.3158, allocations: 59.39 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.3159, allocations: 125.8 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3159, allocations: 25.7 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.316, allocations: 96.03 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.316, allocations: 7.906 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.316, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.3161, allocations: 314.8 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.3161, allocations: 23.98 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.3162, allocations: 29.7 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.3162, allocations: 15.94 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3163, allocations: 0 / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.3164, allocations: 77.55 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3164, allocations: 8 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3164, allocations: 0 / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3164, allocations: 0 / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.3165, allocations: 7.984 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3165, allocations: 0 / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.3166, allocations: 15.94 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.3166, allocations: 7.953 kB / 0.9828 GB, free: 24.03 MB / 0.6198 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 ($PRE.shaH.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.3166, allocations: 122.3 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.3167, allocations: 0 / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.3167, allocations: 11.91 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3167, allocations: 0 / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3167, allocations: 0 / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3167, allocations: 0 / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3169, allocations: 177.6 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3169, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.3169, allocations: 4 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3169, allocations: 7.938 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3169, allocations: 0 / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3169, allocations: 4 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3169, allocations: 0 / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3171, allocations: 167.7 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.3171, allocations: 89 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3171, allocations: 4 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3172, allocations: 8 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3173, allocations: 8.016 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3173, allocations: 7.984 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.3173, allocations: 91.28 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3173, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000207/0.3175, allocations: 8 kB / 0.9835 GB, free: 23.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.3177, allocations: 103.2 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.3178, allocations: 43.86 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3178, allocations: 0 / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-05/0.3179, allocations: 19.98 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.3181, allocations: 3.953 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.3185, allocations: 188.4 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.3187, allocations: 0.6926 MB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.916e-05/0.3187, allocations: 8 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.3188, allocations: 7.438 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3188, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.002691/0.3215, allocations: 0.5742 MB / 0.985 GB, free: 21.54 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)