Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.199/2.199, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 176.2 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.531/2.531, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.0009569, allocations: 98.03 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 12.5 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2005, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001691/0.2023, allocations: 1.124 MB / 0.9006 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.2027, allocations: 152.4 kB / 0.9007 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.2028, allocations: 0 / 0.9007 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.2028, allocations: 7.922 kB / 0.9007 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.203, allocations: 7.938 kB / 0.9008 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.2031, allocations: 19.97 kB / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.2032, allocations: 47.8 kB / 0.9008 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2034, allocations: 23.98 kB / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2035, allocations: 15.92 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.2036, allocations: 27.84 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.2036, allocations: 3.938 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2036, allocations: 4 kB / 0.9009 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2037, allocations: 7.984 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.2037, allocations: 37.64 kB / 0.9009 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.2038, allocations: 39.91 kB / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2038, allocations: 4 kB / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2038, allocations: 0 / 0.901 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2038, allocations: 0 / 0.901 GB, free: 63.99 MB / 0.6042 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.0004788/0.2043, allocations: 367.5 kB / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2044, allocations: 8.031 kB / 0.9013 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.2044, allocations: 8.844 kB / 0.9013 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2047, allocations: 192.3 kB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2047, allocations: 4.375 kB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2048, allocations: 4.375 kB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.205, allocations: 66.17 kB / 0.9016 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.205, allocations: 192 / 0.9016 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.205, allocations: 3.938 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.205, allocations: 4 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.2052, allocations: 39.97 kB / 0.9016 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.2057, allocations: 300.7 kB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2061, allocations: 86.47 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.2062, allocations: 20.98 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2063, allocations: 0 / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2063, allocations: 38.56 kB / 0.9021 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.2063, allocations: 4 kB / 0.9021 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003482/0.2066, allocations: 73.58 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.2067, allocations: 55.34 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.2068, allocations: 125.8 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2068, allocations: 29.7 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.2069, allocations: 100 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.2069, allocations: 3.906 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.207, allocations: 0 / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.207, allocations: 322.8 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.2071, allocations: 19.92 kB / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.2072, allocations: 29.72 kB / 0.9028 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.2073, allocations: 19.92 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2073, allocations: 4 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002176/0.2076, allocations: 69.58 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2076, allocations: 5.875 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2076, allocations: 0 / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2077, allocations: 3.938 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.2078, allocations: 12.03 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2078, allocations: 0 / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2079, allocations: 11.98 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2079, allocations: 0 / 0.9029 GB, free: 61.77 MB / 0.6042 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 ($PRE.shaH.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.208, allocations: 118.9 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2081, allocations: 7.906 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.2081, allocations: 11.89 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2081, allocations: 4 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2081, allocations: 0 / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.2082, allocations: 81.11 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.2082, allocations: 0 / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2083, allocations: 11.98 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.2084, allocations: 15.92 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002722/0.2087, allocations: 149 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002303/0.2089, allocations: 234.7 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.043e-05/0.209, allocations: 20.41 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.2091, allocations: 99.27 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of Backend: time 5.61e-07/0.2091, allocations: 0 / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.2096, allocations: 94.38 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004696/0.2101, allocations: 0.6428 MB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.003413/0.2135, allocations: 0.5916 MB / 0.9049 GB, free: 59.6 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)