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.001087/0.001087, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009999/0.001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.624/1.624, allocations: 251.9 MB / 0.51 GB, free: 4.91 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.0005421/0.0005423, allocations: 20 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.614/0.6145, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001976/0.6166, allocations: 1.12 MB / 0.7291 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004431/0.6171, allocations: 152.5 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.6171, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.6172, allocations: 3.938 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.6173, allocations: 19.91 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.6175, allocations: 15.98 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.6176, allocations: 31.95 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.6178, allocations: 8 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.6179, allocations: 23.91 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.618, allocations: 23.86 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.618, allocations: 4 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.618, allocations: 0 / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.618, allocations: 11.98 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.6181, allocations: 33.64 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.368e-05/0.6182, allocations: 53.86 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.6182, allocations: 0 / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.554e-06/0.6182, allocations: 0 / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6182, allocations: 0 / 0.7294 GB, free: 9.949 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.0005231/0.6187, allocations: 367.1 kB / 0.7298 GB, free: 9.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6188, allocations: 8.031 kB / 0.7298 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.6188, allocations: 15.91 kB / 0.7298 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.6192, allocations: 187 kB / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.6192, allocations: 4 kB / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.6192, allocations: 7.938 kB / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.6194, allocations: 61.61 kB / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6194, allocations: 0 / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.6194, allocations: 4 kB / 0.7301 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6194, allocations: 4 kB / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.6195, allocations: 31.98 kB / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.62, allocations: 304.7 kB / 0.7304 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.6203, allocations: 86.47 kB / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.6203, allocations: 7.938 kB / 0.7305 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.6204, allocations: 34.56 kB / 0.7305 GB, free: 8.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6204, allocations: 0 / 0.7305 GB, free: 8.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002511/0.6206, allocations: 85.7 kB / 0.7306 GB, free: 8.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.6207, allocations: 55.36 kB / 0.7306 GB, free: 8.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.6208, allocations: 129.7 kB / 0.7308 GB, free: 8.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.6208, allocations: 29.7 kB / 0.7308 GB, free: 8.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.6209, allocations: 96.12 kB / 0.7309 GB, free: 8.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.6209, allocations: 3.906 kB / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.6209, allocations: 0 / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6211, allocations: 318.8 kB / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.6211, allocations: 15.98 kB / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.6212, allocations: 33.7 kB / 0.7312 GB, free: 7.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.6212, allocations: 12 kB / 0.7312 GB, free: 7.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6213, allocations: 3.984 kB / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/0.6214, allocations: 69.59 kB / 0.7313 GB, free: 7.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6214, allocations: 6.344 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.6214, allocations: 0 / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6214, allocations: 0 / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.6215, allocations: 19.95 kB / 0.7313 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.6215, allocations: 0 / 0.7313 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.6216, allocations: 15.94 kB / 0.7314 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.6216, allocations: 0 / 0.7314 GB, free: 7.754 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 ($PRE.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.6217, allocations: 113.8 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.6218, allocations: 11.84 kB / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.6218, allocations: 11.91 kB / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.6218, allocations: 0 / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6218, allocations: 0 / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6218, allocations: 0 / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.622, allocations: 177.6 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.622, allocations: 0 / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.6221, allocations: 4 kB / 0.7317 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6221, allocations: 4 kB / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.6221, allocations: 7.984 kB / 0.7317 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6221, allocations: 0 / 0.7317 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6221, allocations: 3.984 kB / 0.7317 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.6223, allocations: 167.4 kB / 0.7318 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.6223, allocations: 81.02 kB / 0.7319 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.6224, allocations: 0 / 0.7319 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.6224, allocations: 8 kB / 0.7319 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.6225, allocations: 19.97 kB / 0.7319 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.6225, allocations: 0 / 0.7319 GB, free: 7.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.6226, allocations: 99.2 kB / 0.732 GB, free: 6.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6226, allocations: 4 kB / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002113/0.6228, allocations: 7.938 kB / 0.732 GB, free: 6.945 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 (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 0.0001198/0.6229, allocations: 95.25 kB / 0.7321 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.6232, allocations: 40.36 kB / 0.7322 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6232, allocations: 0 / 0.7322 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.6232, allocations: 23.92 kB / 0.7322 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.6235, allocations: 15.05 kB / 0.7322 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.6238, allocations: 184.4 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6241, allocations: 0.6887 MB / 0.7331 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.6242, allocations: 8.172 kB / 0.7331 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.6242, allocations: 11.44 kB / 0.7331 GB, free: 5.824 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.6242, allocations: 0 / 0.7331 GB, free: 5.824 MB / 0.545 GB Notification: Performance of Templates: time 0.003031/0.6272, allocations: 0.5718 MB / 0.7336 GB, free: 5.254 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: