Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.15/2.15, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001281/0.001281, allocations: 186.9 kB / 326.2 MB, free: 2.875 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.429/2.429, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009334/0.0009336, allocations: 99.09 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006384/0.0006386, allocations: 13.19 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2235, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/0.4739, allocations: 131.6 MB / 1.028 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4742, allocations: 71.97 kB / 1.028 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004692/0.479, allocations: 1.1 MB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.479, allocations: 0 / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.479, allocations: 0 / 1.029 GB, free: 12.61 MB / 0.6823 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.0005443/0.4796, allocations: 375.2 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4796, allocations: 11.97 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4797, allocations: 12.78 kB / 1.03 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4799, allocations: 164.4 kB / 1.03 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4799, allocations: 8.375 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.48, allocations: 4.359 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.4802, allocations: 54.25 kB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4802, allocations: 192 / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4802, allocations: 15.92 kB / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4802, allocations: 0 / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.4804, allocations: 31.98 kB / 1.03 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.481, allocations: 308.7 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.4816, allocations: 78.53 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.4817, allocations: 29 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4818, allocations: 4.062 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4818, allocations: 38.5 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.033e-06/0.4818, allocations: 0 / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003869/0.4822, allocations: 77.67 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4823, allocations: 51.41 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4824, allocations: 125.8 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4824, allocations: 29.7 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.4825, allocations: 103.9 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.4826, allocations: 7.891 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.4826, allocations: 0 / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4828, allocations: 322.8 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.997e-05/0.4829, allocations: 19.98 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.483, allocations: 37.64 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.4831, allocations: 12 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4831, allocations: 0 / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002488/0.4834, allocations: 73.58 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4834, allocations: 12.03 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4834, allocations: 3.938 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4834, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.4835, allocations: 8 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4836, allocations: 0 / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.4837, allocations: 11.98 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4837, allocations: 4 kB / 1.031 GB, free: 10.39 MB / 0.6823 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.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4839, allocations: 122.9 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4839, allocations: 3.938 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.484, allocations: 15.89 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.484, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.484, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.484, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.4843, allocations: 177.6 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4843, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.4844, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4844, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4844, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4844, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4844, allocations: 4 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.4847, allocations: 163.4 kB / 1.032 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.4848, allocations: 89 kB / 1.032 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4848, allocations: 0 / 1.032 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.485, allocations: 12 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.485, allocations: 7.984 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.4851, allocations: 3.938 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.421e-05/0.4852, allocations: 95.27 kB / 1.032 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4852, allocations: 0 / 1.032 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003069/0.4855, allocations: 8 kB / 1.032 GB, free: 9.598 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.4856, allocations: 103.2 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.4859, allocations: 36.36 kB / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4859, allocations: 0 / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.486, allocations: 20.08 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.4864, allocations: 15.88 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.4869, allocations: 186.2 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4872, allocations: 0.6926 MB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.047e-05/0.4873, allocations: 0 / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.4873, allocations: 11.44 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.4873, allocations: 4 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of Templates: time 0.003676/0.491, allocations: 0.5843 MB / 1.033 GB, free: 7.895 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)