Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001265/0.001265, allocations: 105 kB / 16.36 MB, free: 6.426 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.001141/0.001141, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.464/1.464, 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.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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: 68.47 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2725, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002115/0.2747, allocations: 0.6976 MB / 0.7855 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2758, allocations: 0.8515 MB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.2759, allocations: 0 / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.2759, allocations: 3.938 kB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.294e-05/0.276, allocations: 11.86 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.2762, allocations: 15.98 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.2763, allocations: 59.84 kB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2765, allocations: 23.97 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2766, allocations: 31.8 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.2767, allocations: 23.92 kB / 0.7865 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.2767, allocations: 8 kB / 0.7865 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.2768, allocations: 4 kB / 0.7865 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.2768, allocations: 11.92 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.2768, allocations: 31.86 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.277, allocations: 63.72 kB / 0.7866 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.277, allocations: 0 / 0.7866 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.277, allocations: 7.938 kB / 0.7866 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.277, allocations: 4 kB / 0.7866 GB, free: 1.359 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.0005351/0.2776, allocations: 363.3 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2776, allocations: 15.97 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.2777, allocations: 8.844 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2779, allocations: 204.2 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2779, allocations: 4.375 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.278, allocations: 384 / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2781, allocations: 62.23 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2781, allocations: 192 / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2782, allocations: 3.938 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2782, allocations: 0 / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2783, allocations: 35.91 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.2787, allocations: 288.8 kB / 0.7875 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.279, allocations: 74.52 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.2791, allocations: 16.92 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2791, allocations: 0 / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2791, allocations: 38.5 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.2791, allocations: 0 / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002456/0.2794, allocations: 77.66 kB / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4363/0.7157, allocations: 51.41 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.7159, allocations: 118.3 kB / 0.7879 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.7159, allocations: 27.98 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.716, allocations: 94.52 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.716, allocations: 8.484 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.716, allocations: 20.77 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.7161, allocations: 322.3 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.7162, allocations: 13.34 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.7163, allocations: 35.2 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.7164, allocations: 33.52 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7164, allocations: 0 / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001574/0.7166, allocations: 63.31 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7166, allocations: 5.781 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.7166, allocations: 0 / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.7166, allocations: 0 / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.7167, allocations: 10.92 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7167, allocations: 0 / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.7168, allocations: 18.47 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.7168, allocations: 0 / 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 (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 6.722e-05/0.7169, allocations: 115.4 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.7169, allocations: 7.766 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.7169, allocations: 8.031 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.717, allocations: 8.25 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.717, allocations: 0 / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.717, allocations: 2.781 kB / 0.7886 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.7171, allocations: 171.4 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7172, allocations: 0 / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.7172, allocations: 10.53 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7172, allocations: 0.6562 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.7172, allocations: 1.938 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.7172, allocations: 3.938 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7172, allocations: 0 / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.7174, allocations: 158.8 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.7174, allocations: 86.52 kB / 0.7891 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.7174, allocations: 0 / 0.7891 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.7175, allocations: 16.08 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.7176, allocations: 5.656 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.7176, allocations: 0 / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.7176, allocations: 103.1 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7176, allocations: 0 / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002304/0.7179, allocations: 12.88 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 (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 8.886e-05/0.718, allocations: 97.69 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.7181, allocations: 34.58 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7181, allocations: 0.5938 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.7182, allocations: 15.8 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.0003265/0.7185, allocations: 17.28 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.0003112/0.7189, allocations: 151 kB / 0.7895 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.719, allocations: 0.6878 MB / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.719, allocations: 5.406 kB / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.7191, allocations: 13.77 kB / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7191, allocations: 0 / 0.7902 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.002902/0.722, allocations: 0.6998 MB / 0.7909 GB, free: 46.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)