Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.93/4.93, allocations: 0.5623 GB / 0.5769 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002421/0.00242, allocations: 358.3 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.308/4.308, allocations: 410.7 MB / 1.112 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001753/0.001753, allocations: 187.6 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004938, allocations: 8 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6327, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00074/0.6335, allocations: 431.2 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000881/0.6344, allocations: 0.8426 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.6345, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.6345, allocations: 0.7188 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.6346, allocations: 5.312 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.6347, allocations: 23.91 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.6348, allocations: 51.84 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.6349, allocations: 9.219 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.635, allocations: 21.64 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.6351, allocations: 27.78 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.6351, allocations: 4 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.6351, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.6352, allocations: 13.3 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.6352, allocations: 33.64 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.449e-05/0.6353, allocations: 42.02 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.787e-06/0.6353, allocations: 1.156 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.971e-06/0.6353, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6353, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 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.0003858/0.6357, allocations: 368.5 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6358, allocations: 13.16 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.6358, allocations: 5.219 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.636, allocations: 205.4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.6361, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.6361, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.6363, allocations: 61.61 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.06e-06/0.6363, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.6363, allocations: 4.969 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-06/0.6363, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.6365, allocations: 32.77 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.6369, allocations: 296 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.6372, allocations: 86.38 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.6373, allocations: 26.03 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.6373, allocations: 1.344 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.6373, allocations: 30.56 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.6373, allocations: 0.625 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0002895/0.6376, allocations: 88.61 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.6377, allocations: 57.02 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.6378, allocations: 128.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.6378, allocations: 25.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.6379, allocations: 93.02 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.6379, allocations: 11.89 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-06/0.6379, allocations: 1.312 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.638, allocations: 314.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.638, allocations: 20.55 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.6381, allocations: 30.61 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.6382, allocations: 13.31 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-06/0.6382, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001802/0.6384, allocations: 72.83 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6385, allocations: 11.75 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.837e-06/0.6385, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6385, allocations: 3.938 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.6386, allocations: 7.938 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.559e-06/0.6386, allocations: 3.953 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.6387, allocations: 21.02 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.6387, allocations: 0.625 kB / 1.464 GB, free: 280.6 MB / 0.8542 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 7.057e-05/0.6388, allocations: 114.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.6388, allocations: 1.25 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.6389, allocations: 15.89 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-06/0.6389, allocations: 1.172 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-06/0.6389, allocations: 1.562 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.086e-06/0.6389, allocations: 3.953 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.6391, allocations: 169.7 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-06/0.6391, allocations: 3.984 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.6392, allocations: 5.375 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.42e-06/0.6392, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-06/0.6392, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.387e-06/0.6392, allocations: 5.656 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-06/0.6392, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.6394, allocations: 164.9 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.6395, allocations: 82.42 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.6395, allocations: 8.609 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.6396, allocations: 9.25 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.6397, allocations: 7.984 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.948e-06/0.6397, allocations: 4.656 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.6398, allocations: 91.27 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.14e-07/0.6398, allocations: 1.844 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003036/0.6401, allocations: 19.84 kB / 1.465 GB, free: 279.9 MB / 0.8542 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 8.653e-05/0.6402, allocations: 97.56 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.6404, allocations: 43.91 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.571e-06/0.6404, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.6405, allocations: 21.23 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.6409, allocations: 3.953 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.6412, allocations: 184.7 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.6414, allocations: 0.6887 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.403e-05/0.6414, allocations: 9.656 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.6415, allocations: 11.38 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.441e-06/0.6415, allocations: 1.25 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.003074/0.6446, allocations: 0.5819 MB / 1.466 GB, free: 278.2 MB / 0.8542 GB