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.001079/0.001079, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009042/0.009042, allocations: 173.8 kB / 16.27 MB, free: 6.66 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.724/1.724, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.783/1.783, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0008555/0.0008556, allocations: 14.75 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3536, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001092/0.3548, allocations: 445.2 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3561, allocations: 0.8486 MB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.3561, allocations: 0 / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.3562, allocations: 3.984 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.3563, allocations: 11.88 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.3565, allocations: 19.98 kB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3567, allocations: 47.86 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3568, allocations: 27.97 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3569, allocations: 15.92 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.357, allocations: 23.86 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.3571, allocations: 4 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.3571, allocations: 0 / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.3571, allocations: 11.88 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.3572, allocations: 53.55 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3573, allocations: 56.05 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3574, allocations: 0 / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3574, allocations: 3.938 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3574, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 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.0005965/0.358, allocations: 359.3 kB / 0.7897 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.3581, allocations: 8.031 kB / 0.7897 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.3581, allocations: 4.938 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3584, allocations: 192.2 kB / 0.7899 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3585, allocations: 12.36 kB / 0.7899 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3585, allocations: 8.375 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3587, allocations: 62.22 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3587, allocations: 4.125 kB / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3587, allocations: 3.938 kB / 0.79 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3587, allocations: 0 / 0.79 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3589, allocations: 35.97 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3595, allocations: 296.7 kB / 0.7903 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.3598, allocations: 90.45 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.3599, allocations: 20.92 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3599, allocations: 0 / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3599, allocations: 38.56 kB / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.36, allocations: 0 / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002928/0.3603, allocations: 85.64 kB / 0.7906 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3603, allocations: 51.41 kB / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3604, allocations: 121.8 kB / 0.7907 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3605, allocations: 25.7 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.3605, allocations: 100.1 kB / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3606, allocations: 7.844 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.3606, allocations: 9.719 kB / 0.7909 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3607, allocations: 326.8 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.3608, allocations: 15.94 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.3609, allocations: 29.7 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.468e-05/0.361, allocations: 44.81 kB / 0.7913 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.361, allocations: 0 / 0.7913 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001413/0.3611, allocations: 69.58 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3611, allocations: 7.938 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3612, allocations: 0 / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3612, allocations: 4 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.3612, allocations: 11.98 kB / 0.7914 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3612, allocations: 0 / 0.7914 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.3613, allocations: 8 kB / 0.7914 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3613, allocations: 4 kB / 0.7914 GB, free: 7.77 MB / 0.6075 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 0.0001074/0.3614, allocations: 117.8 kB / 0.7915 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.3615, allocations: 7.906 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.3615, allocations: 7.906 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3615, allocations: 8 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3615, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3616, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3618, allocations: 173.6 kB / 0.7917 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3618, allocations: 4 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.3618, allocations: 4 kB / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3618, allocations: 0 / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3619, allocations: 0 / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3619, allocations: 0 / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3619, allocations: 0 / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3621, allocations: 171.4 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.3621, allocations: 89 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3621, allocations: 4 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.3622, allocations: 4 kB / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3623, allocations: 7.984 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3623, allocations: 4 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.3623, allocations: 103.6 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3624, allocations: 0 / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002147/0.3626, allocations: 8 kB / 0.792 GB, free: 6.969 MB / 0.6075 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.0001128/0.3627, allocations: 95.25 kB / 0.7921 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3629, allocations: 48.22 kB / 0.7922 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3629, allocations: 4 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.363, allocations: 20.08 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3633, allocations: 10.89 kB / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.3636, allocations: 192.5 kB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3639, allocations: 0.6926 MB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.98e-05/0.3639, allocations: 0 / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.364, allocations: 11.44 kB / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.364, allocations: 0 / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of Templates: time 0.002772/0.3668, allocations: 0.6002 MB / 0.7937 GB, free: 5.25 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: