Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.00191/0.00191, 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.003156/0.003156, allocations: 195.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 472.6 MB / 0.7447 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 58.69 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3832, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002884/0.3862, allocations: 0.7659 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3876, allocations: 0.839 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.3877, allocations: 4 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.059e-05/0.3878, allocations: 3.938 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.388, allocations: 7.922 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3882, allocations: 23.98 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3883, allocations: 59.78 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.3885, allocations: 16 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.3886, allocations: 31.84 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3887, allocations: 23.91 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3888, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.3888, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.3888, allocations: 7.938 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.3889, allocations: 23.86 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.389, allocations: 60.11 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.389, allocations: 3.938 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.389, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.389, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 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.0006232/0.3897, allocations: 367.3 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.3898, allocations: 12.02 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.3898, allocations: 8.844 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3902, allocations: 196.1 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3902, allocations: 8.375 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3902, allocations: 4.375 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3904, allocations: 54.23 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3904, allocations: 192 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.3905, allocations: 7.938 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3905, allocations: 3.984 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3906, allocations: 27.98 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.3912, allocations: 304.7 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3915, allocations: 66.53 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.3916, allocations: 21 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3916, allocations: 4 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3917, allocations: 30.56 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3917, allocations: 0 / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003053/0.392, allocations: 77.52 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.392, allocations: 51.41 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3922, allocations: 121.8 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3922, allocations: 33.64 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.3923, allocations: 96.05 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3923, allocations: 3.906 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.3924, allocations: 21.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3925, allocations: 322.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.3926, allocations: 15.98 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.3926, allocations: 29.64 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.3927, allocations: 36.81 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3928, allocations: 4 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001518/0.3929, allocations: 57.69 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3929, allocations: 7.984 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.393, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.393, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.393, allocations: 8 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.3931, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.646e-05/0.3931, allocations: 11.92 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3932, allocations: 4 kB / 1.071 GB, free: 6.887 MB / 0.8262 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.0001297/0.3933, allocations: 118.4 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3933, allocations: 7.906 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.3934, allocations: 11.91 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3934, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3934, allocations: 11.92 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3934, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3936, allocations: 169.6 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3937, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.3937, allocations: 11.98 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3937, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3937, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3938, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3938, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.394, allocations: 163.7 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.3941, allocations: 77.11 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3941, allocations: 8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.3942, allocations: 7.984 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.3942, allocations: 7.984 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3943, allocations: 4 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.3943, allocations: 91.7 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3943, allocations: 3.938 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002362/0.3946, allocations: 15.91 kB / 1.072 GB, free: 6.086 MB / 0.8262 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.0001346/0.3947, allocations: 103.2 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.3949, allocations: 35.97 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3949, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.395, allocations: 15.94 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3953, allocations: 8.266 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.3958, allocations: 173.7 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3961, allocations: 0.6848 MB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.3962, allocations: 4 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.3962, allocations: 11.44 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3962, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of Templates: time 0.003209/0.3994, allocations: 0.6088 MB / 1.074 GB, free: 4.387 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)