Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001407/0.001407, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001663/0.001663, allocations: 195.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 61.97 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3635, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002422/0.366, allocations: 0.7702 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3673, allocations: 0.8429 MB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.3673, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.3674, allocations: 3.984 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.3675, allocations: 15.92 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.3677, allocations: 27.86 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.232e-05/0.3678, allocations: 55.86 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3679, allocations: 19.98 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.368, allocations: 27.91 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.3681, allocations: 27.86 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3681, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.3682, allocations: 4 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.3682, allocations: 15.92 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.3682, allocations: 23.88 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3684, allocations: 64.11 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3684, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3684, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3684, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8262 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.0005447/0.3689, allocations: 369.1 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.369, allocations: 12.03 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.369, allocations: 8.844 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.3693, allocations: 200.1 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3693, allocations: 8.375 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3694, allocations: 4.375 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3695, allocations: 54.23 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3695, allocations: 192 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3696, allocations: 3.938 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3696, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3697, allocations: 31.97 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.3701, allocations: 304.8 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.3704, allocations: 74.45 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.3705, allocations: 20.92 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3705, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3705, allocations: 34.5 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3705, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002487/0.3708, allocations: 73.66 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.3708, allocations: 51.41 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.3709, allocations: 121.8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.371, allocations: 37.7 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.371, allocations: 92.03 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.371, allocations: 7.906 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.3711, allocations: 17.72 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3712, allocations: 322.8 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.3713, allocations: 12 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.3713, allocations: 33.64 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.171e-05/0.3714, allocations: 32.88 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3714, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.3716, allocations: 65.67 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3716, allocations: 5.094 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3716, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3716, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.3717, allocations: 7.984 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3717, allocations: 3.938 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.3718, allocations: 15.94 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3718, allocations: 4.312 kB / 1.071 GB, free: 6.699 MB / 0.8262 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.0001214/0.3719, allocations: 122.4 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.3719, allocations: 11.89 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.372, allocations: 7.906 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.372, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.372, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.372, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.3723, allocations: 177.6 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3723, allocations: 4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.3723, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3723, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3724, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3724, allocations: 3.984 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3724, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.3725, allocations: 155.4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.3726, allocations: 85.11 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3726, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.3727, allocations: 11.94 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3728, allocations: 11.92 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.355e-05/0.3728, allocations: 95.27 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3728, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002214/0.3731, allocations: 15.91 kB / 1.072 GB, free: 5.902 MB / 0.8262 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.0001001/0.3732, allocations: 99.23 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.3733, allocations: 31.98 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3734, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.3734, allocations: 23.92 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3737, allocations: 7.938 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.3741, allocations: 183.7 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3744, allocations: 0.6807 MB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.3745, allocations: 11.97 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.3745, allocations: 11.38 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3745, allocations: 8 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of Templates: time 0.002921/0.3774, allocations: 0.6358 MB / 1.074 GB, free: 4.16 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)