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_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 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_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001696/0.001696, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.805 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.765/1.765, allocations: 251.6 MB / 0.5088 GB, free: 3.336 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.001446/0.001446, allocations: 59.92 kB / 0.6216 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7524, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00286/0.7553, allocations: 1.467 MB / 0.7252 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004143/0.7557, allocations: 160.4 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.7558, allocations: 3.938 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/0.7559, allocations: 7.922 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.756, allocations: 7.938 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.7561, allocations: 15.98 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.7562, allocations: 51.86 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.7564, allocations: 23.97 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.7565, allocations: 23.86 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.424e-05/0.7566, allocations: 27.8 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.7566, allocations: 4 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.7566, allocations: 0 / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.7566, allocations: 19.92 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.7567, allocations: 19.86 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.7568, allocations: 61.81 kB / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7568, allocations: 0 / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7568, allocations: 4 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.7568, allocations: 0 / 0.7257 GB, free: 11.29 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.0005674/0.7574, allocations: 367.2 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7575, allocations: 8.031 kB / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.7575, allocations: 8.875 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.7578, allocations: 196.2 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.7578, allocations: 4.375 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.7579, allocations: 4.375 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.758, allocations: 62.17 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.758, allocations: 192 / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.758, allocations: 7.938 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.758, allocations: 0 / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.7582, allocations: 27.97 kB / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.7586, allocations: 300.7 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.7589, allocations: 74.45 kB / 0.7267 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.759, allocations: 20.92 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.759, allocations: 3.984 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.759, allocations: 34.56 kB / 0.7267 GB, free: 10.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.759, allocations: 0 / 0.7267 GB, free: 10.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000264/0.7593, allocations: 81.59 kB / 0.7268 GB, free: 9.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.7593, allocations: 51.41 kB / 0.7268 GB, free: 9.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.7594, allocations: 125.8 kB / 0.727 GB, free: 9.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.7595, allocations: 25.7 kB / 0.727 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.7595, allocations: 92.12 kB / 0.7271 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.7596, allocations: 7.906 kB / 0.7271 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.7596, allocations: 13.72 kB / 0.7271 GB, free: 9.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7597, allocations: 326.8 kB / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.7598, allocations: 12 kB / 0.7274 GB, free: 9.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.7599, allocations: 33.7 kB / 0.7275 GB, free: 9.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.76, allocations: 28.84 kB / 0.7275 GB, free: 9.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.76, allocations: 0 / 0.7275 GB, free: 9.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.7601, allocations: 69.52 kB / 0.7275 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.7601, allocations: 4 kB / 0.7276 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7601, allocations: 7.938 kB / 0.7276 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.7602, allocations: 3.938 kB / 0.7276 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.955e-05/0.7602, allocations: 7.984 kB / 0.7276 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7602, allocations: 0 / 0.7276 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.7603, allocations: 8.031 kB / 0.7276 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.7603, allocations: 4 kB / 0.7276 GB, free: 9.074 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 (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 0.0001005/0.7604, allocations: 121.8 kB / 0.7277 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.7605, allocations: 3.906 kB / 0.7277 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.7605, allocations: 11.91 kB / 0.7277 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7605, allocations: 0 / 0.7277 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7605, allocations: 0 / 0.7277 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7605, allocations: 0 / 0.7277 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.7607, allocations: 181.6 kB / 0.7279 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7607, allocations: 4 kB / 0.7279 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.7607, allocations: 4 kB / 0.7279 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7608, allocations: 0 / 0.7279 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7608, allocations: 4 kB / 0.7279 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7608, allocations: 7.969 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7608, allocations: 3.938 kB / 0.7279 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.761, allocations: 159.5 kB / 0.7281 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.761, allocations: 81.02 kB / 0.7281 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.7611, allocations: 8.375 kB / 0.7281 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.7611, allocations: 4 kB / 0.7282 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.7612, allocations: 7.984 kB / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7612, allocations: 0 / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.953e-05/0.7613, allocations: 95.7 kB / 0.7283 GB, free: 8.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7613, allocations: 0 / 0.7283 GB, free: 8.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000228/0.7615, allocations: 11.94 kB / 0.7283 GB, free: 8.277 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 (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.0001009/0.7616, allocations: 103.2 kB / 0.7284 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.7618, allocations: 39.91 kB / 0.7284 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7618, allocations: 0 / 0.7284 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.7619, allocations: 19.98 kB / 0.7284 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.7622, allocations: 8.266 kB / 0.7284 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.7626, allocations: 181.2 kB / 0.7286 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.763, allocations: 0.6887 MB / 0.7293 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.326e-05/0.763, allocations: 7.891 kB / 0.7293 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.7631, allocations: 15.44 kB / 0.7293 GB, free: 7.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.7631, allocations: 0 / 0.7293 GB, free: 7.164 MB / 0.545 GB Notification: Performance of Templates: time 0.003571/0.7666, allocations: 0.602 MB / 0.7299 GB, free: 6.566 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)