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.001396/0.001401, allocations: 107.2 kB / 16.27 MB, free: 5.98 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.001458/0.001458, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.373/1.373, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.817/1.817, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001396/0.001396, allocations: 67.03 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2477, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002529/0.2503, allocations: 0.7091 MB / 0.7847 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2516, allocations: 0.8398 MB / 0.7855 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.2517, allocations: 4 kB / 0.7855 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.2518, allocations: 3.938 kB / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.252, allocations: 11.86 kB / 0.7856 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.2522, allocations: 19.98 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2523, allocations: 59.8 kB / 0.7856 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2525, allocations: 31.91 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2526, allocations: 19.92 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.2527, allocations: 23.92 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2527, allocations: 4 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.2527, allocations: 8 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.2528, allocations: 19.91 kB / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.2528, allocations: 23.88 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.2529, allocations: 71.98 kB / 0.7858 GB, free: 2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2529, allocations: 4 kB / 0.7858 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.484e-06/0.253, allocations: 0 / 0.7858 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.253, allocations: 0 / 0.7858 GB, free: 1.996 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.0005187/0.2535, allocations: 363.2 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2535, allocations: 8.031 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.2536, allocations: 8.844 kB / 0.7862 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.2539, allocations: 204.1 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2539, allocations: 384 / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2539, allocations: 8.375 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2541, allocations: 54.23 kB / 0.7864 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2541, allocations: 192 / 0.7864 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2541, allocations: 11.94 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2541, allocations: 0 / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2542, allocations: 27.97 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.2547, allocations: 300.8 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.255, allocations: 66.53 kB / 0.7868 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.2551, allocations: 16.92 kB / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2551, allocations: 0 / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2551, allocations: 42.58 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2551, allocations: 0 / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002698/0.2554, allocations: 77.58 kB / 0.787 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.2555, allocations: 51.41 kB / 0.787 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.2555, allocations: 117.8 kB / 0.7871 GB, free: 484 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2556, allocations: 25.7 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2556, allocations: 99.97 kB / 0.7872 GB, free: 348 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.2557, allocations: 15.84 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.2557, allocations: 13.72 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4233/0.679, allocations: 321.5 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.6792, allocations: 15.3 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.6793, allocations: 27.78 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.6794, allocations: 28.23 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6794, allocations: 3.219 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001797/0.6796, allocations: 63.98 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.6796, allocations: 9.156 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6797, allocations: 7.969 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.6797, allocations: 0 / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.6798, allocations: 2.625 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6798, allocations: 6.375 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.6798, allocations: 8.719 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.6799, allocations: 2.281 kB / 0.7877 GB, free: 48.43 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 7.832e-05/0.6799, allocations: 115.5 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.68, allocations: 3.984 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.68, allocations: 10.92 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.68, allocations: 4.094 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.68, allocations: 6.562 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6801, allocations: 0.6562 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.6802, allocations: 175.1 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6803, allocations: 0 / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.6803, allocations: 6.062 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6803, allocations: 0 / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.6803, allocations: 6.031 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6803, allocations: 0.5938 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6803, allocations: 6.219 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.6805, allocations: 158.1 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.6805, allocations: 84.08 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.6805, allocations: 8.562 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.6806, allocations: 2.688 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.6807, allocations: 11.92 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.6807, allocations: 3.422 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.6808, allocations: 98.89 kB / 0.7884 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.81e-07/0.6808, allocations: 0 / 0.7884 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002281/0.681, allocations: 10.59 kB / 0.7884 GB, free: 47.81 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 0.0001222/0.6811, allocations: 98.38 kB / 0.7885 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.6813, allocations: 36.8 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6813, allocations: 0 / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.6814, allocations: 20.88 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.6817, allocations: 4.344 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.6822, allocations: 188.7 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.6824, allocations: 0.6835 MB / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.6824, allocations: 16.56 kB / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6824, allocations: 0 / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002374/0.6848, allocations: 0.8449 MB / 0.7903 GB, free: 46.88 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)