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.001347/0.001348, allocations: 106.2 kB / 16.36 MB, free: 6.297 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.001133/0.001133, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.426/1.426, 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.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001458/0.001458, allocations: 67.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 114.5 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.002545/0.2402, allocations: 0.7167 MB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2414, allocations: 0.8399 MB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.2415, allocations: 0 / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.2415, allocations: 11.88 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.2416, allocations: 7.922 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.2418, allocations: 23.91 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.242, allocations: 59.84 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.2421, allocations: 16 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2422, allocations: 19.92 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.2423, allocations: 39.83 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.2424, allocations: 4 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.2424, allocations: 8 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.2424, allocations: 7.938 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.2424, allocations: 27.86 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2426, allocations: 79.58 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2426, allocations: 0 / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2426, allocations: 0 / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.2426, allocations: 0 / 0.7866 GB, free: 1.32 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.0005615/0.2432, allocations: 375.3 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2432, allocations: 8.031 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.2433, allocations: 8.844 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2436, allocations: 188.2 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2436, allocations: 4.375 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2436, allocations: 4.375 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2438, allocations: 54.23 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2438, allocations: 4.125 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2438, allocations: 7.938 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2438, allocations: 4 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.2439, allocations: 31.97 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.2444, allocations: 296.8 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.2448, allocations: 74.47 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.2448, allocations: 21 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2449, allocations: 0 / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.2449, allocations: 30.56 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2449, allocations: 0 / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.3453/0.5902, allocations: 68.41 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.5904, allocations: 54 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5905, allocations: 123.6 kB / 0.7879 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5905, allocations: 28.17 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.5905, allocations: 95.53 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.5906, allocations: 11.33 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.5906, allocations: 23.61 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.5907, allocations: 317.2 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.5907, allocations: 14.09 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.5908, allocations: 28.61 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.5909, allocations: 30.78 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5909, allocations: 0 / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/0.5911, allocations: 70.42 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5911, allocations: 5.25 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.5911, allocations: 0 / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5911, allocations: 3.75 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.5912, allocations: 9.922 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5912, allocations: 0.5938 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.5913, allocations: 11.41 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5913, allocations: 2.656 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 5.965e-05/0.5914, allocations: 115.5 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.5914, allocations: 7.656 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.5914, allocations: 14.47 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5914, allocations: 6.875 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5914, allocations: 3 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5915, allocations: 0 / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5916, allocations: 170.3 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5916, allocations: 0 / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.5917, allocations: 8.875 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5917, allocations: 1.969 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.5917, allocations: 10.12 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5917, allocations: 0 / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5917, allocations: 2.844 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5918, allocations: 150 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.5919, allocations: 85.77 kB / 0.7891 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.5919, allocations: 3.938 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.592, allocations: 4.031 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.592, allocations: 12.91 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.592, allocations: 4.016 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.5921, allocations: 100.3 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5921, allocations: 1.719 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002289/0.5923, allocations: 11.53 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.562e-05/0.5924, allocations: 98.66 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.5926, allocations: 32.31 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5926, allocations: 1.625 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.5926, allocations: 20.72 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.0002571/0.5929, allocations: 7.188 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.0003413/0.5933, allocations: 178.1 kB / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.5934, allocations: 0.6897 MB / 0.7902 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.5934, allocations: 10.28 kB / 0.7902 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.5934, allocations: 0.5 kB / 0.7902 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.002095/0.5955, allocations: 0.8435 MB / 0.791 GB, free: 46.6 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)