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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001898/0.001898, allocations: 191.7 kB / 16.13 MB, free: 6.699 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.717/1.717, allocations: 205.1 MB / 222 MB, free: 4.992 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.856/1.856, allocations: 251.7 MB / 0.5088 GB, free: 3.371 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.001328/0.001328, allocations: 63.91 kB / 0.6216 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5669, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002617/0.5695, allocations: 1.479 MB / 0.7253 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00041/0.57, allocations: 160.4 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.57, allocations: 4 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.5701, allocations: 3.938 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.5702, allocations: 3.938 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.5703, allocations: 15.98 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.5704, allocations: 55.78 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.5705, allocations: 27.92 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.5707, allocations: 23.92 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.5707, allocations: 27.84 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.5708, allocations: 0 / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.5708, allocations: 4 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.5708, allocations: 4 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.5709, allocations: 31.78 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.571, allocations: 65.81 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.571, allocations: 0 / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.61e-07/0.571, allocations: 0 / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.571, allocations: 0 / 0.7257 GB, free: 11.27 MB / 0.545 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.0005478/0.5716, allocations: 371.2 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5716, allocations: 8.031 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.5717, allocations: 4.938 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.5719, allocations: 192.2 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.572, allocations: 8.359 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.572, allocations: 4.375 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.5721, allocations: 54.23 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5722, allocations: 4.125 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.5722, allocations: 11.94 kB / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.5722, allocations: 0 / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.5723, allocations: 27.98 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.5728, allocations: 304.6 kB / 0.7266 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.5731, allocations: 66.53 kB / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.5732, allocations: 21 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.5732, allocations: 4 kB / 0.7267 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5732, allocations: 30.56 kB / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.5732, allocations: 0 / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002613/0.5735, allocations: 81.52 kB / 0.7268 GB, free: 9.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5735, allocations: 51.41 kB / 0.7269 GB, free: 9.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.5736, allocations: 129.7 kB / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.5737, allocations: 25.7 kB / 0.727 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.5737, allocations: 96.08 kB / 0.7271 GB, free: 9.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.5738, allocations: 11.89 kB / 0.7271 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.5738, allocations: 13.72 kB / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5739, allocations: 322.8 kB / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.574, allocations: 11.98 kB / 0.7274 GB, free: 9.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.5741, allocations: 33.7 kB / 0.7275 GB, free: 9.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.5742, allocations: 33.09 kB / 0.7275 GB, free: 9.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5742, allocations: 0 / 0.7275 GB, free: 9.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.5743, allocations: 73.56 kB / 0.7276 GB, free: 9.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5743, allocations: 4 kB / 0.7276 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5744, allocations: 0 / 0.7276 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5744, allocations: 0 / 0.7276 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.5744, allocations: 8 kB / 0.7276 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5744, allocations: 0 / 0.7276 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.5745, allocations: 7.984 kB / 0.7276 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5745, allocations: 4 kB / 0.7276 GB, free: 9.059 MB / 0.545 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.0001001/0.5746, allocations: 117.8 kB / 0.7277 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.5747, allocations: 7.906 kB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.5747, allocations: 15.83 kB / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5747, allocations: 0 / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.5747, allocations: 4 kB / 0.7277 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5748, allocations: 3.938 kB / 0.7277 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.5749, allocations: 173.6 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.575, allocations: 0 / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.575, allocations: 11.98 kB / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.575, allocations: 4 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.575, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.575, allocations: 4 kB / 0.7279 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.575, allocations: 0 / 0.7279 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.5753, allocations: 155.5 kB / 0.7281 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.5753, allocations: 81.02 kB / 0.7281 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.5753, allocations: 4 kB / 0.7281 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.5754, allocations: 7.984 kB / 0.7282 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.5755, allocations: 7.984 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.5755, allocations: 4 kB / 0.7282 GB, free: 8.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.5756, allocations: 95.27 kB / 0.7283 GB, free: 8.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.551e-06/0.5756, allocations: 0 / 0.7283 GB, free: 8.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002282/0.5759, allocations: 15.88 kB / 0.7283 GB, free: 8.258 MB / 0.545 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.0001445/0.576, allocations: 99.25 kB / 0.7284 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.5762, allocations: 35.97 kB / 0.7284 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5762, allocations: 0 / 0.7284 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.5763, allocations: 12 kB / 0.7284 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.5767, allocations: 23.12 kB / 0.7284 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.5772, allocations: 185.2 kB / 0.7286 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.5777, allocations: 0.6886 MB / 0.7293 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.5777, allocations: 4 kB / 0.7293 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.5778, allocations: 15.42 kB / 0.7293 GB, free: 7.148 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.5778, allocations: 0 / 0.7293 GB, free: 7.148 MB / 0.545 GB Notification: Performance of Templates: time 0.003485/0.5813, allocations: 0.6042 MB / 0.7299 GB, free: 6.547 MB / 0.545 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)