Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001475/0.001475, allocations: 104.1 kB / 16.36 MB, free: 5.945 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.001591/0.001591, allocations: 194.7 kB / 17.3 MB, free: 5.559 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.632/1.632, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.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.001706/0.001707, allocations: 75.89 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2544, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00229/0.2568, allocations: 0.7053 MB / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.258, allocations: 0.8438 MB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.258, allocations: 0 / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.2581, allocations: 3.938 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2582, allocations: 7.875 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.2584, allocations: 23.91 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2586, allocations: 55.86 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2587, allocations: 23.97 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2588, allocations: 23.92 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.2589, allocations: 27.86 kB / 0.7865 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.259, allocations: 4 kB / 0.7865 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.259, allocations: 8 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.259, allocations: 11.92 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.2591, allocations: 39.84 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.2592, allocations: 63.72 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2592, allocations: 0 / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of FrontEnd: time 7.093e-06/0.2592, allocations: 0 / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2592, allocations: 3.938 kB / 0.7866 GB, free: 1.332 MB / 0.6544 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.0005593/0.2598, allocations: 363.3 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2599, allocations: 8.031 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.2599, allocations: 12.84 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2602, allocations: 200.2 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.2602, allocations: 4.312 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.2602, allocations: 8.359 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.2604, allocations: 50.25 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2604, allocations: 192 / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2604, allocations: 11.94 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2604, allocations: 7.969 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.2606, allocations: 31.92 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.2611, allocations: 296.8 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.2614, allocations: 66.53 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.2614, allocations: 24.94 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2614, allocations: 0 / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2615, allocations: 34.56 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2615, allocations: 0 / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.4417/0.7031, allocations: 70.16 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.7032, allocations: 52.72 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.7033, allocations: 119.7 kB / 0.7879 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.7034, allocations: 27.72 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.7034, allocations: 93.94 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.7035, allocations: 13.94 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.7035, allocations: 19.92 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.7036, allocations: 323.6 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.7037, allocations: 16.89 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.7037, allocations: 30.95 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.7038, allocations: 28.38 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7038, allocations: 2.125 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001504/0.704, allocations: 68.38 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.704, allocations: 6.031 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.704, allocations: 2.625 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.7041, allocations: 0 / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.7041, allocations: 6.156 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7042, allocations: 5.578 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.7042, allocations: 5.25 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.7042, allocations: 3.328 kB / 0.7885 GB, free: 48.15 MB / 0.6544 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 6.606e-05/0.7043, allocations: 116.9 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.7043, allocations: 5.125 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.7044, allocations: 12.53 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7044, allocations: 0.9062 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7044, allocations: 2.75 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7044, allocations: 0.5625 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.7046, allocations: 176.7 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7046, allocations: 4.031 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.7046, allocations: 4.531 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7046, allocations: 0.5625 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.7046, allocations: 8.406 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7046, allocations: 0 / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7047, allocations: 3.797 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.7048, allocations: 155.7 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.7048, allocations: 79.14 kB / 0.7891 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.7049, allocations: 10.17 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.705, allocations: 3.156 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.705, allocations: 13.73 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.705, allocations: 5.062 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.7051, allocations: 95.11 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7051, allocations: 0 / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000217/0.7053, allocations: 13.19 kB / 0.7892 GB, free: 47.54 MB / 0.6544 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 8.622e-05/0.7054, allocations: 100.7 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.7055, allocations: 37.34 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7056, allocations: 0 / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.7056, allocations: 17.75 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.7059, allocations: 8.25 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.7063, allocations: 152.3 kB / 0.7895 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.7064, allocations: 0.684 MB / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.7065, allocations: 11.44 kB / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.7065, allocations: 11.16 kB / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.7065, allocations: 0 / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.002881/0.7094, allocations: 0.6984 MB / 0.7909 GB, free: 46.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)