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.001279/0.001279, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01024/0.01024, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004097, allocations: 10.91 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4261, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001143/0.4273, allocations: 437.2 kB / 1.075 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4284, allocations: 0.8468 MB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.4285, allocations: 4 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.4285, allocations: 0 / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.4286, allocations: 3.938 kB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.4288, allocations: 19.98 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.622e-05/0.4289, allocations: 63.72 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4291, allocations: 15.98 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.4292, allocations: 19.92 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.4293, allocations: 27.86 kB / 1.076 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.4293, allocations: 0 / 1.076 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.4293, allocations: 4 kB / 1.076 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.4294, allocations: 7.984 kB / 1.076 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.4294, allocations: 49.5 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.4296, allocations: 56.11 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4296, allocations: 3.938 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4296, allocations: 0 / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4296, allocations: 0 / 1.076 GB, free: 6.039 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.0005435/0.4301, allocations: 363.3 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4302, allocations: 12.03 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.4302, allocations: 4.938 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.4305, allocations: 200.1 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4305, allocations: 4.375 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.4306, allocations: 4.312 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4307, allocations: 62.23 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4307, allocations: 192 / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4308, allocations: 7.938 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4308, allocations: 4 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.4309, allocations: 31.97 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.4314, allocations: 312.7 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.4317, allocations: 82.53 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.4317, allocations: 16.92 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4318, allocations: 96 / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4318, allocations: 42.48 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4318, allocations: 0 / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002728/0.4321, allocations: 77.67 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4321, allocations: 51.41 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.4322, allocations: 121.8 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4323, allocations: 25.7 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.4323, allocations: 92.12 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.4324, allocations: 11.91 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.4324, allocations: 13.72 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4325, allocations: 322.8 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.4326, allocations: 19.98 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.4327, allocations: 25.72 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.4328, allocations: 36.81 kB / 1.077 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4328, allocations: 4 kB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001425/0.4329, allocations: 73.58 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4329, allocations: 4 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4329, allocations: 0 / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.433, allocations: 0 / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.433, allocations: 7.984 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.433, allocations: 4 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.4331, allocations: 16.27 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.4331, allocations: 3.984 kB / 1.078 GB, free: 3.789 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.000102/0.4332, allocations: 126.3 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.4333, allocations: 11.89 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.4333, allocations: 11.84 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4333, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4333, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4333, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.4335, allocations: 185.6 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4335, allocations: 0 / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.4336, allocations: 4 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4336, allocations: 0 / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.4336, allocations: 4 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4336, allocations: 3.984 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4336, allocations: 0 / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.4338, allocations: 163.5 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.4339, allocations: 81.02 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4339, allocations: 4 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.434, allocations: 8 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.434, allocations: 11.92 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4341, allocations: 3.984 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.671e-05/0.4341, allocations: 95.66 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4341, allocations: 4 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002182/0.4344, allocations: 8 kB / 1.078 GB, free: 2.977 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.0001186/0.4345, allocations: 99.23 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.4347, allocations: 35.98 kB / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4347, allocations: 0 / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.278e-05/0.4347, allocations: 23.98 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.4351, allocations: 13.75 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.4355, allocations: 180.7 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4358, allocations: 0.6887 MB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.334e-05/0.4359, allocations: 4 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.4359, allocations: 11.42 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4359, allocations: 4 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of Templates: time 0.003015/0.4389, allocations: 0.5963 MB / 1.08 GB, free: 1.27 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)