Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00125/0.00125, 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.01005/0.01005, allocations: 171.7 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.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.217/3.217, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 7.938 kB / 0.9158 GB, free: 32.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4179, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00106/0.419, allocations: 437.1 kB / 1.075 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.4201, allocations: 0.8391 MB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.4201, allocations: 0 / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.4202, allocations: 0 / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.4203, allocations: 7.922 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.4205, allocations: 27.92 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.634e-05/0.4206, allocations: 63.78 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.4207, allocations: 12 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.4208, allocations: 23.91 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.4209, allocations: 23.86 kB / 1.076 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.4209, allocations: 0 / 1.076 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.4209, allocations: 4 kB / 1.076 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.421, allocations: 3.984 kB / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.421, allocations: 53.52 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.4211, allocations: 56.09 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4212, allocations: 0 / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4212, allocations: 0 / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4212, allocations: 0 / 1.076 GB, free: 6.027 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.000495/0.4217, allocations: 367.2 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4217, allocations: 12.02 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.4218, allocations: 12.94 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.422, allocations: 196.1 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.4221, allocations: 8.312 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4221, allocations: 384 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4223, allocations: 58.23 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4223, allocations: 192 / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4223, allocations: 3.938 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4223, allocations: 4 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.4224, allocations: 43.91 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.4229, allocations: 300.7 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.4232, allocations: 82.53 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.4233, allocations: 25 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.4233, allocations: 7.922 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4234, allocations: 34.56 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.4234, allocations: 0 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002622/0.4236, allocations: 69.67 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4237, allocations: 51.41 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.4238, allocations: 133.7 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4238, allocations: 29.7 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.4239, allocations: 84.14 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.4239, allocations: 11.91 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.424, allocations: 17.64 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4241, allocations: 322.8 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.4241, allocations: 15.98 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.4242, allocations: 37.64 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.4243, allocations: 28.84 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4243, allocations: 0 / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.4245, allocations: 69.59 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4245, allocations: 8.031 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4245, allocations: 0 / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4245, allocations: 0 / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.4246, allocations: 15.98 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4246, allocations: 0 / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.4247, allocations: 19.86 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.4247, allocations: 3.938 kB / 1.078 GB, free: 3.762 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.0001154/0.4248, allocations: 122.4 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4248, allocations: 7.906 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.4249, allocations: 3.906 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4249, allocations: 0 / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4249, allocations: 0 / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4249, allocations: 4 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.4251, allocations: 181.6 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4251, allocations: 0 / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.4252, allocations: 4 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4252, allocations: 7.984 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.4252, allocations: 4 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4252, allocations: 3.984 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4252, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.4254, allocations: 163.4 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.4254, allocations: 81.02 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4255, allocations: 0 / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.4256, allocations: 15.98 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.4256, allocations: 12.36 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.4256, allocations: 0 / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.4257, allocations: 95.27 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4257, allocations: 0 / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002291/0.4259, allocations: 8 kB / 1.078 GB, free: 2.961 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.0001006/0.426, allocations: 95.25 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.4262, allocations: 43.97 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4262, allocations: 0 / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/0.4263, allocations: 23.92 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.4266, allocations: 11.88 kB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.427, allocations: 188.7 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4273, allocations: 0.6809 MB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.4273, allocations: 7.984 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.4274, allocations: 15.44 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4274, allocations: 0 / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.003038/0.4304, allocations: 0.5844 MB / 1.08 GB, free: 1.254 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)