Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.00113/0.00113, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 197.2 kB / 16.64 MB, free: 6.453 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.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.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.787/1.787, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001498/0.001498, allocations: 64.38 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3209, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002521/0.3235, allocations: 0.7125 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3248, allocations: 0.8399 MB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.3249, allocations: 3.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.087e-05/0.325, allocations: 3.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.3251, allocations: 7.938 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3253, allocations: 23.91 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3255, allocations: 59.8 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3256, allocations: 23.97 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3258, allocations: 23.92 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.3259, allocations: 19.92 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.3259, allocations: 8 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.3259, allocations: 4 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.326, allocations: 23.84 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.326, allocations: 23.88 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.3262, allocations: 71.7 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3262, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3262, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3262, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 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.0005887/0.3268, allocations: 363.3 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3268, allocations: 8.031 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3269, allocations: 12.78 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.3272, allocations: 196.2 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3272, allocations: 384 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3272, allocations: 8.375 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3274, allocations: 66.17 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3274, allocations: 192 / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3275, allocations: 3.938 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3275, allocations: 0 / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3276, allocations: 31.97 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3281, allocations: 296.7 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.3284, allocations: 74.47 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.3284, allocations: 12.92 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3285, allocations: 3.938 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3285, allocations: 38.64 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3285, allocations: 0 / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002802/0.3288, allocations: 81.59 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3288, allocations: 51.41 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.329, allocations: 121.8 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.329, allocations: 25.7 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.3291, allocations: 100 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.3291, allocations: 7.844 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.3292, allocations: 21.7 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3293, allocations: 322.8 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.3294, allocations: 15.98 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.3295, allocations: 29.7 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/0.3296, allocations: 24.84 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3296, allocations: 4 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001473/0.3297, allocations: 61.62 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3298, allocations: 4 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3298, allocations: 4.031 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3298, allocations: 4 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.3298, allocations: 7.984 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3299, allocations: 4 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.3299, allocations: 15.89 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3299, allocations: 0 / 0.7879 GB, free: 8.676 MB / 0.6075 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.604e-05/0.3301, allocations: 117.8 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3301, allocations: 4 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.3301, allocations: 7.906 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3301, allocations: 0 / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3301, allocations: 4 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3302, allocations: 0 / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3303, allocations: 181.6 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3304, allocations: 3.938 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.3304, allocations: 4 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3304, allocations: 7.938 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3304, allocations: 3.984 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3304, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3305, allocations: 4 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.3307, allocations: 163.3 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.3307, allocations: 81.02 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3307, allocations: 0 / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.3308, allocations: 7.984 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.3309, allocations: 8 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3309, allocations: 7.984 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.331, allocations: 91.28 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.331, allocations: 0 / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002288/0.3312, allocations: 8 kB / 0.7885 GB, free: 7.883 MB / 0.6075 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.000127/0.3313, allocations: 103.2 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.3315, allocations: 36.3 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3315, allocations: 0 / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.3316, allocations: 19.98 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3319, allocations: 7.938 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.3324, allocations: 159.1 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3327, allocations: 0.6923 MB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.832e-05/0.3327, allocations: 11.98 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3328, allocations: 7.438 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.3328, allocations: 0 / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.003507/0.3363, allocations: 0.7028 MB / 0.7902 GB, free: 6.098 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)