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.001316/0.001316, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.001452/0.001453, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.461/1.461, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.77/1.77, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001664/0.001664, allocations: 83.88 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2406, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002163/0.2428, allocations: 0.6974 MB / 0.7847 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2439, allocations: 0.8476 MB / 0.7855 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.244, allocations: 0 / 0.7855 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.244, allocations: 3.938 kB / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.2441, allocations: 7.938 kB / 0.7856 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.2443, allocations: 23.92 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2444, allocations: 63.84 kB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2446, allocations: 23.91 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2447, allocations: 19.94 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.2448, allocations: 27.91 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.2448, allocations: 8 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2448, allocations: 4 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.2448, allocations: 15.86 kB / 0.7857 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.2449, allocations: 31.86 kB / 0.7858 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.245, allocations: 71.94 kB / 0.7858 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.245, allocations: 0 / 0.7858 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.245, allocations: 0 / 0.7858 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.245, allocations: 0 / 0.7858 GB, free: 1.996 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.0004865/0.2455, allocations: 363.3 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2456, allocations: 8.031 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.2456, allocations: 8.844 kB / 0.7862 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.2459, allocations: 200.2 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2459, allocations: 4.375 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2459, allocations: 4.375 kB / 0.7864 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2461, allocations: 54.23 kB / 0.7864 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2461, allocations: 192 / 0.7864 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2461, allocations: 7.875 kB / 0.7864 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2461, allocations: 4 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.2462, allocations: 31.97 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.2467, allocations: 296.8 kB / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.247, allocations: 70.47 kB / 0.7868 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.2471, allocations: 25 kB / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.2471, allocations: 0 / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2471, allocations: 30.56 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2471, allocations: 0 / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002609/0.2474, allocations: 73.58 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.2474, allocations: 51.41 kB / 0.787 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2476, allocations: 125.8 kB / 0.7871 GB, free: 484 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2476, allocations: 33.7 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.2477, allocations: 95.98 kB / 0.7872 GB, free: 344 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.2477, allocations: 11.83 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.2477, allocations: 17.72 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3325/0.5802, allocations: 319.2 kB / 0.7876 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5804, allocations: 14.03 kB / 0.7876 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.5805, allocations: 28.5 kB / 0.7876 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.5806, allocations: 30.16 kB / 0.7877 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5806, allocations: 3.969 kB / 0.7877 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001781/0.5808, allocations: 64.22 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5808, allocations: 5.531 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.5808, allocations: 0.6562 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.5809, allocations: 3.625 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.5809, allocations: 7.031 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.581, allocations: 2.391 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.581, allocations: 9.922 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.581, allocations: 0.75 kB / 0.7877 GB, free: 49.02 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.678e-05/0.5812, allocations: 117.9 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.5812, allocations: 6.188 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.5812, allocations: 13.64 kB / 0.7879 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5812, allocations: 0 / 0.7879 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.5813, allocations: 4.719 kB / 0.7879 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.5813, allocations: 0.9375 kB / 0.7879 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.5815, allocations: 174.7 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5815, allocations: 0 / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.5815, allocations: 6.875 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5815, allocations: 3.281 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5815, allocations: 0 / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5815, allocations: 2.25 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5816, allocations: 3.938 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.5817, allocations: 156 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.5818, allocations: 88.39 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.5818, allocations: 0.9375 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.5819, allocations: 6.875 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.5819, allocations: 14.25 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.5819, allocations: 6.641 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.582, allocations: 96.08 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.582, allocations: 2.625 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002407/0.5823, allocations: 8.688 kB / 0.7884 GB, free: 48.41 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.0001047/0.5824, allocations: 97 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.5826, allocations: 41.55 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5826, allocations: 0 / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.5827, allocations: 17.14 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.583, allocations: 11.33 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.5834, allocations: 183.9 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.5835, allocations: 0.6893 MB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.5836, allocations: 10.06 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.5836, allocations: 0 / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.002147/0.5857, allocations: 0.8381 MB / 0.7903 GB, free: 47.47 MB / 0.6544 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)